]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/apachemods/mod_rest_gateway.h
moved C code to a unified logging framework which currently supports syslogging and...
[Evergreen.git] / Open-ILS / src / apachemods / mod_rest_gateway.h
1 #include "httpd.h"
2 #include "http_config.h"
3 #include "http_core.h"
4 #include "http_protocol.h"
5 #include "apr_compat.h"
6 #include "apr_strings.h"
7
8 /* our stuff */
9 #include "opensrf/transport_client.h"
10 #include "opensrf/osrf_message.h"
11 #include "opensrf/osrf_app_session.h"
12 #include "string_array.h"
13 #include "md5.h"
14 #include "objson/object.h"
15 #include "objson/json_parser.h"
16 #include "opensrf/log.h"
17
18 #include "json_xml.h"
19 #define GATEWAY_CONFIG "ILSRestGatewayConfig"
20 #define MODULE_NAME "ils_rest_gateway_module"
21 #define CONFIG_CONTEXT "rest_gateway"
22
23 #define GATEWAY_DEFAULT_CONFIG "/openils/conf/opensrf_core.xml"
24
25
26 /* our config structure */
27 typedef struct { 
28         char* configfile;  /* our bootstrap config file */
29 } ils_gateway_config;
30
31 module AP_MODULE_DECLARE_DATA ils_rest_gateway_module;
32