X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fanalysisd%2Fconfig.h;h=8d74c756e4493c3e2f6889bb10b912e16f43611e;hb=HEAD;hp=d3bb44a6fca4d4f5939aa996db4e8bcacb04f3ce;hpb=301048b51990573e58a30dc4a5bb4ec285cad554;p=ossec-hids.git diff --git a/src/analysisd/config.h b/src/analysisd/config.h old mode 100755 new mode 100644 index d3bb44a..8d74c75 --- a/src/analysisd/config.h +++ b/src/analysisd/config.h @@ -1,5 +1,3 @@ -/* @(#) $Id$ */ - /* Copyright (C) 2009 Trend Micro Inc. * All right reserved. * @@ -9,18 +7,24 @@ * Foundation */ - - #ifndef _CONFIG__H - #define _CONFIG__H #include "config/config.h" #include "config/global-config.h" - -long int __crt_ftell; /* Global ftell pointer. */ -_Config Config; /* Global Config structure */ +#ifdef LIBGEOIP_ENABLED +#include "GeoIP.h" +#endif +extern long int __crt_ftell; /* Global ftell pointer */ +extern _Config Config; /* Global Config structure */ +#ifdef LIBGEOIP_ENABLED +GeoIP *geoipdb; #endif + +int GlobalConf(const char *cfgfile); + +#endif /* _CONFIG__H */ +