new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / config / config.h
old mode 100755 (executable)
new mode 100644 (file)
index 55a2dfb..7acc2ac
@@ -1,19 +1,12 @@
-/* @(#) $Id: config.h,v 1.14 2009/06/24 17:06:25 dcid Exp $ */
-
 /* Copyright (C) 2009 Trend Micro Inc.
  * All rights 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
- *
- * License details at the LICENSE file included with OSSEC or
- * online at: http://www.ossec.net/en/licensing.html
  */
 
-
 #ifndef _HCONFIG__H
 #define _HCONFIG__H
 
 #define CDBD          0002000
 #define CSYSLOGD      0004000
 #define CAGENTLESS    0020000
+#define CREPORTS      0040000
 
 #define CAGENT_CONFIG 0010000
 
 #include "os_xml/os_xml.h"
 
-
 /* Main function to read the config */
-int ReadConfig(int modules, char *cfgfile, void *d1, void *d2);
+int ReadConfig(int modules, const char *cfgfile, void *d1, void *d2);
 
 int Read_Global(XML_NODE node, void *d1, void *d2);
 int Read_GlobalSK(XML_NODE node, void *configp, void *mailp);
@@ -54,14 +47,6 @@ int Read_Remote(XML_NODE node, void *d1, void *d2);
 int Read_Client(XML_NODE node, void *d1, void *d2);
 int ReadActiveResponses(XML_NODE node, void *d1, void *d2);
 int ReadActiveCommands(XML_NODE node, void *d1, void *d2);
-void AssignIgnore_Global(char **ignores, void *configp);
-
-
-/* General config, for passing blobs of data. */
-typedef struct _GeneralConfig
-{
-    void *data;
-}GeneralConfig;
-
+int Read_CReports(XML_NODE node, void *config1, void *config2);
 
-#endif
+#endif /* _HCONFIG__H */