-/* @(#) $Id$ */
+/* @(#) $Id: ./src/headers/defs.h, 2012/08/11 dcid Exp $
+ */
-/* Copyright (C) 2009 Trend Micro Inc.
+/* Copyright (C) 2009-2012 Trend Micro Inc.
* All rights reserved.
*
* This program is a free software; you can redistribute it
* License (version 2) as published by the FSF - Free Software
* Foundation.
*
- * License details at the LICENSE file included with OSSEC or
+ * License details at the LICENSE file included with OSSEC or
* online at: http://www.ossec.net/en/licensing.html
*/
#define __OS_HEADERS
+/* TRUE / FALSE definitions
+ */
+#define TRUE 1
+#define FALSE 0
+
/* Read / Write definitions
*/
#define READ 1
/* Some Global names */
#define __name "OSSEC HIDS"
-#define __version "v2.5.1"
+#define __version "v2.7"
#define __author "Trend Micro Inc."
#define __contact "contact@ossec.net"
#define __site "http://www.ossec.net"
#define MAX_PID 32768
#endif
-
+
/* Max limit of 256 agents */
#ifndef MAX_AGENTS
#define MAX_AGENTS 256
-#endif
+#endif
/* manager notification */
#define NOTIFY_TIME 600 /* every 10 minutes */
-
+
/* User Configuration */
#ifndef MAILUSER
#define MAILUSER "ossecm"
#ifndef USER
#define USER "ossec"
#endif
-
+
#ifndef REMUSER
#define REMUSER "ossecr"
#endif
-
+
#ifndef GROUPGLOBAL
#define GROUPGLOBAL "ossec"
-#endif
-
+#endif
+
#ifndef DEFAULTDIR
#define DEFAULTDIR "/var/ossec"
#endif
#define AR_BINDIR "active-response/bin"
#define AGENTCONFIG "shared/agent.conf"
#define AGENTCONFIGINT "shared/agent.conf"
-#endif
+#endif
/* Exec queue */
#define XML_DECODER "/etc/decoder.xml"
#define XML_LDECODER "/etc/local_decoder.xml"
-
+
/* Agent information location */
#define AGENTINFO_DIR "/queue/agent-info"
#else
#define SYSCHECK_RESTART "syscheck/.syscheck_run"
#define SYSCHECK_RESTART_PATH "syscheck/.syscheck_run"
-#endif
+#endif
+
-
-/* Agentless directories. */
+/* Agentless directories. */
#define AGENTLESSDIR "/agentless"
#define AGENTLESSPASS "/agentless/.passlist"
#define AGENTLESS_ENTRYDIR "/queue/agentless"
-
+
/* Internal definitions files */
#ifndef WIN32
#ifndef WIN32
#define SHAREDCFG_DIR "/etc/shared"
#else
- #define SHAREDCFG_DIR "shared"
-#endif
+ #define SHAREDCFG_DIR "shared"
+#endif
/* Built in defines */
#define DEFAULTQPATH DEFAULTDIR DEFAULTQUEUE