aboutsummaryrefslogtreecommitdiff
path: root/services.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-04-30 14:25:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-04-30 14:25:29 +0200
commit07780b06aa7b0fe049cc412309cf87e7fb10a0ef (patch)
treeb6d0f1ee50223f5cbbc4b8c5d0dc4f69ff7f2352 /services.cxx
parent259a92ac4e1ac50e4c029f54265b735f6214b49d (diff)
Implement module configuration with an option list
Diffstat (limited to 'services.cxx')
-rw-r--r--services.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/services.cxx b/services.cxx
index 37b32cf..3d6f372 100644
--- a/services.cxx
+++ b/services.cxx
@@ -11,7 +11,11 @@ using namespace brep;
using web::apache::service;
static search search_mod;
-service AP_MODULE_DECLARE_DATA search_srv ("search", search_mod);
+service AP_MODULE_DECLARE_DATA search_srv ("search",
+ search_mod,
+ {"db-host", "db-port", "conf"});
static view view_mod;
-service AP_MODULE_DECLARE_DATA view_srv ("view", view_mod);
+service AP_MODULE_DECLARE_DATA view_srv ("view",
+ view_mod,
+ {"db-host", "db-port", "conf"});