removing default config path so we don't have to mangle the C files at install time
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 25 Jul 2008 15:30:11 +0000 (15:30 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 25 Jul 2008 15:30:11 +0000 (15:30 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1372 9efc2488-bf62-4759-914b-345cdb29e865

src/gateway/osrf_json_gateway.c

index 162e3ac..81099d1 100644 (file)
@@ -18,9 +18,6 @@
 #define JSON_PROTOCOL "OSRFGatewayLegacyJSON"
 #define GATEWAY_USE_LEGACY_JSON 1
 
 #define JSON_PROTOCOL "OSRFGatewayLegacyJSON"
 #define GATEWAY_USE_LEGACY_JSON 1
 
-#define GATEWAY_DEFAULT_CONFIG "SYSCONFDIR/opensrf_core.xml"
-
-
 /* our config structure */
 typedef struct { 
        char* configfile;  /* our bootstrap config file */
 /* our config structure */
 typedef struct { 
        char* configfile;  /* our bootstrap config file */
@@ -70,13 +67,6 @@ static const command_rec osrf_json_gateway_cmds[] = {
        {NULL}
 };
 
        {NULL}
 };
 
-/* build the config object */
-static void* osrf_json_gateway_create_config( apr_pool_t* p, server_rec* s) {
-       osrf_json_gateway_config* cfg = (osrf_json_gateway_config*) 
-                       apr_palloc(p, sizeof(osrf_json_gateway_config));
-       cfg->configfile = GATEWAY_DEFAULT_CONFIG;
-       return (void*) cfg;
-}
 
 static void* osrf_json_gateway_create_dir_config( apr_pool_t* p, char* dir) {
        osrf_json_gateway_dir_config* cfg = (osrf_json_gateway_dir_config*) 
 
 static void* osrf_json_gateway_create_dir_config( apr_pool_t* p, char* dir) {
        osrf_json_gateway_dir_config* cfg = (osrf_json_gateway_dir_config*) 
@@ -455,7 +445,7 @@ module AP_MODULE_DECLARE_DATA osrf_json_gateway_module = {
        STANDARD20_MODULE_STUFF,
        osrf_json_gateway_create_dir_config,
        NULL,
        STANDARD20_MODULE_STUFF,
        osrf_json_gateway_create_dir_config,
        NULL,
-       osrf_json_gateway_create_config,
+    NULL,
        NULL,
        osrf_json_gateway_cmds,
        osrf_json_gateway_register_hooks,
        NULL,
        osrf_json_gateway_cmds,
        osrf_json_gateway_register_hooks,