Rudiments: /home/dmuse/temp/rudiments/include/rudiments/httpserverapimain.h Source File

Rudiments

httpserverapimain.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information
3
4 #ifndef RUDIMENTS_HTTPSERVERMAIN_H
5 #define RUDIMENTS_HTTPSERVERMAIN_H
6
7 // Include this file in the .cpp file that contains your httpModuleMain().
8 //
9 // Define HTTP_MODULE_CGI to compile your program as a CGI.
10 // Define HTTP_MODULE_APACHE to compile your program as an Apache module.
11
12 #if defined(HTTP_MODULE_CGI)
13 #include <rudiments/private/cgimodule.h>
14 #elif defined(HTTP_MODULE_APACHE)
15 #include <rudiments/private/apachemodule.h>
16 #endif
17
18 #endif