aboutsummaryrefslogtreecommitdiff
path: root/services.cxx
blob: 86b27b758473f256fcdad4884e405c02c17eacd1 (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 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"});