Imported Upstream version 2.7
[ossec-hids.git] / src / config / global-config.h
index b8fcbbc..8867ece 100755 (executable)
@@ -1,15 +1,16 @@
-/* @(#) $Id: global-config.h,v 1.16 2009/06/24 17:06:25 dcid Exp $ */
+/* @(#) $Id: ./src/config/global-config.h, 2011/09/08 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 _CCONFIG__H
 #define _CCONFIG__H
@@ -29,7 +30,7 @@ typedef struct __Config
     u_int8_t mailbylevel;
     u_int8_t logbylevel;
     u_int8_t logfw;
-    
+
     /* Prelude support */
     u_int8_t prelude;
     /* which min. level the alert must be sent to prelude */
@@ -46,14 +47,14 @@ typedef struct __Config
 
     /* Mail alerting */
     short int mailnotify;
-    
-    /* For the active response */  
+
+    /* For the active response */
     int ar;
-    
+
     /* For the correlation */
     int memorysize;
-   
-    /* List of files to ignore (syscheck) */ 
+
+    /* List of files to ignore (syscheck) */
     char **syscheck_ignore;
 
     /* List of ips to never block */
@@ -65,9 +66,22 @@ typedef struct __Config
     /* List of rules */
     char **includes;
 
+    /* List of Lists */
+    char **lists;
+
+    /* List of decoders */
+    char **decoders;
+
     /* Global rule hash. */
     void *g_rules_hash;
 
+#ifdef GEOIP
+    /* GeoIP support */
+    u_int8_t loggeoip;
+    char *geoip_db_path;
+    char *geoip6_db_path;
+#endif
+
 }_Config;