aboutsummaryrefslogtreecommitdiff
path: root/services.cxx
blob: 3d6f3725dc20291bac85b3c2f0b24bd6204e3fff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// file      : services.cxx -*- C++ -*-
// copyright : Copyright (c) 2014-2015 Code Synthesis Tools CC
// 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"});