Imported Upstream version 2.7
[ossec-hids.git] / src / headers / defs.h
index 9a9e5c4..8fa06a6 100755 (executable)
@@ -1,6 +1,7 @@
-/* @(#) $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
@@ -8,7 +9,7 @@
  * 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
@@ -46,7 +52,7 @@
 
 /* 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"
@@ -63,17 +69,17 @@ http://www.ossec.net/main/license/\n"
     #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"
@@ -82,15 +88,15 @@ http://www.ossec.net/main/license/\n"
 #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
@@ -111,7 +117,7 @@ http://www.ossec.net/main/license/\n"
     #define AR_BINDIR           "active-response/bin"
     #define AGENTCONFIG         "shared/agent.conf"
     #define AGENTCONFIGINT      "shared/agent.conf"
-#endif        
+#endif
 
 
 /* Exec queue */
@@ -126,7 +132,7 @@ http://www.ossec.net/main/license/\n"
 #define XML_DECODER     "/etc/decoder.xml"
 #define XML_LDECODER    "/etc/local_decoder.xml"
 
-        
+
 /* Agent information location */
 #define AGENTINFO_DIR    "/queue/agent-info"
 
@@ -178,14 +184,14 @@ http://www.ossec.net/main/license/\n"
 #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
@@ -230,8 +236,8 @@ http://www.ossec.net/main/license/\n"
 #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