X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=server%2Fmain.c;h=bfd5300d2d8ed35c9b9fb3ae3a012a341a1987ff;hb=7ca215713fa73c84ba0b46c9e7299386bd5cf5b8;hp=5e2c6c8b27a1460f9bbaf2a960bcef6713106e6e;hpb=72077d49c8dcf079d52a266717a8bda9db9db0ab;p=matches%2FMCTX3420.git diff --git a/server/main.c b/server/main.c index 5e2c6c8..bfd5300 100644 --- a/server/main.c +++ b/server/main.c @@ -2,18 +2,15 @@ * @file main.c * @purpose main and its helper functions, signal handling and cleanup functions */ -#include "common.h" - - -// --- Standard headers --- // -#include // for signal handling // --- Custom headers --- // -#include "query.h" -#include "log.h" +#include "common.h" #include "options.h" #include "sensor.h" +// --- Standard headers --- // +#include // for signal handling + // --- Variable definitions --- // Options g_options; // options passed to program through command line arguments Sensor g_sensors[NUMSENSORS]; // sensors array @@ -74,7 +71,7 @@ int main(int argc, char ** argv) } // run request thread in the main thread - Query_Main(NULL); //TODO: Replace with FastCGI code + FCGI_RequestLoop(NULL); return 0; }