aboutsummaryrefslogtreecommitdiff
path: root/brep/services.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'brep/services.cxx')
-rw-r--r--brep/services.cxx21
1 files changed, 21 insertions, 0 deletions
diff --git a/brep/services.cxx b/brep/services.cxx
new file mode 100644
index 0000000..86b27b7
--- /dev/null
+++ b/brep/services.cxx
@@ -0,0 +1,21 @@
+// file : services.cxx -*- C++ -*-
+// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+#include <brep/view>
+#include <brep/search>
+
+#include <web/apache/service>
+
+using namespace brep;
+using web::apache::service;
+
+static 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,
+ {"db-host", "db-port", "conf"});