From 63229f465aaea8dd5553814535220817319a64f5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 4 May 2015 21:22:14 +0200 Subject: Cleanup the code --- web/apache/service.cxx | 109 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 web/apache/service.cxx (limited to 'web/apache/service.cxx') diff --git a/web/apache/service.cxx b/web/apache/service.cxx new file mode 100644 index 0000000..6b73e02 --- /dev/null +++ b/web/apache/service.cxx @@ -0,0 +1,109 @@ +// file : web/apache/service.cxx -*- C++ -*- +// copyright : Copyright (c) 2014-2015 Code Synthesis Tools CC +// license : MIT; see accompanying LICENSE file + +#include + +#include // getppid() +#include // kill() + +#include +#include + +#include // unique_ptr +#include +#include + +using namespace std; + +namespace web +{ + namespace apache + { + void service:: + init_directives() + { + assert(cmds == nullptr); + + // Fill apache module directive definitions. Directives share + // common name space in apache configuration file, so to prevent name + // clash have to form directive name as a combination of module and + // option names: -