X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fconfig%2Fconfig.h;h=7acc2acf45106da33660d33cefe764b9a699cf45;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hp=af1eb7e2f5a895ec8eb3a99a532b2a89ce420fc5;hpb=301048b51990573e58a30dc4a5bb4ec285cad554;p=ossec-hids.git diff --git a/src/config/config.h b/src/config/config.h old mode 100755 new mode 100644 index af1eb7e..7acc2ac --- a/src/config/config.h +++ b/src/config/config.h @@ -1,5 +1,3 @@ -/* @(#) $Id$ */ - /* Copyright (C) 2009 Trend Micro Inc. * All rights reserved. * @@ -7,13 +5,8 @@ * and/or modify it under the terms of the GNU General Public * 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 @@ -30,15 +23,14 @@ #define CDBD 0002000 #define CSYSLOGD 0004000 #define CAGENTLESS 0020000 -#define CREPORTS 0040000 +#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); @@ -56,14 +48,5 @@ 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); int Read_CReports(XML_NODE node, void *config1, void *config2); -void AssignIgnore_Global(char **ignores, void *configp); - - -/* General config, for passing blobs of data. */ -typedef struct _GeneralConfig -{ - void *data; -}GeneralConfig; - -#endif +#endif /* _HCONFIG__H */