// file : web/apache/service.cxx -*- C++ -*- // copyright : Copyright (c) 2014-2018 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file #include #include // apr_palloc() #include // server_rec #include // command_rec, cmd_*, ap_get_module_config() #include // unique_ptr #include #include #include // move() #include // strlen(), strcmp() #include #include #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: -