2 #include "http_config.h"
4 #include "http_protocol.h"
5 #include "apr_compat.h"
6 #include "apr_strings.h"
9 #include "opensrf/transport_client.h"
10 #include "opensrf/osrf_message.h"
11 #include "opensrf/osrf_app_session.h"
12 #include "string_array.h"
14 #include "objson/object.h"
15 #include "objson/json_parser.h"
19 #define GATEWAY_CONFIG "ILSRestGatewayConfig"
20 #define MODULE_NAME "ils_rest_gateway_module"
21 #define CONFIG_CONTEXT "rest_gateway"
24 #define MODULE_NAME "ils_gateway_module"
25 #define GATEWAY_CONFIG "ILSGatewayConfig"
26 #define CONFIG_CONTEXT "gateway"
29 #define GATEWAY_DEFAULT_CONFIG "/openils/conf/opensrf_core.xml"
32 /* our config structure */
34 char* configfile; /* our bootstrap config file */
38 module AP_MODULE_DECLARE_DATA ils_rest_gateway_module;
40 module AP_MODULE_DECLARE_DATA ils_gateway_module;