new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / analysisd / config.h
old mode 100755 (executable)
new mode 100644 (file)
index da73d3a..8d74c75
@@ -1,26 +1,30 @@
-/* @(#) $Id: config.h,v 1.19 2009/11/20 15:38:27 dcid Exp $ */
-
 /* Copyright (C) 2009 Trend Micro Inc.
  * All right reserved.
  *
  * This program is a free software; you can redistribute it
  * and/or modify it under the terms of the GNU General Public
- * License (version 3) as published by the FSF - Free Software
+ * License (version 2) as published by the FSF - Free Software
  * 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 */
+