blob: eb99f3dacdfcc952c3a3c2739b3d0a136f83572a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// file : brep/services.cxx -*- C++ -*-
// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
#include <ap_config.h> // AP_MODULE_DECLARE_DATA
#include <web/apache/service>
#include <brep/package-search>
#include <brep/package-details>
#include <brep/package-version-details>
using namespace brep;
using web::apache::service;
static package_search package_search_mod;
service AP_MODULE_DECLARE_DATA package_search_srv (
"package-search",
package_search_mod,
{"db-host", "db-port", "conf"});
static package_details package_details_mod;
service AP_MODULE_DECLARE_DATA package_details_srv (
"package-details",
package_details_mod,
{"db-host", "db-port", "conf"});
static package_version_details package_version_details_mod;
service AP_MODULE_DECLARE_DATA package_version_details_srv (
"package-version-details",
package_version_details_mod,
{"db-host", "db-port", "conf"});
|