projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git]
/
src
/
analysisd
/
config.h
diff --git
a/src/analysisd/config.h
b/src/analysisd/config.h
old mode 100755
(executable)
new mode 100644
(file)
index
f335d12
..
8d74c75
--- a/
src/analysisd/config.h
+++ b/
src/analysisd/config.h
@@
-1,6
+1,3
@@
-/* @(#) $Id: ./src/analysisd/config.h, 2011/09/08 dcid Exp $
- */
-
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
*
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
*
@@
-10,18
+7,24
@@
* Foundation
*/
* Foundation
*/
-
-
#ifndef _CONFIG__H
#ifndef _CONFIG__H
-
#define _CONFIG__H
#include "config/config.h"
#include "config/global-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
#endif
+
+int GlobalConf(const char *cfgfile);
+
+#endif /* _CONFIG__H */
+