[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ossec-dev] ossec-hids: defs.h (HEAD) shared.h (HEAD) [dcid]



Module name:	ossec-hids
Changes by:	dcid	06/09/07 20:19:04

Modified files:
	defs.h shared.h

Log message:
Description: Multiple windows fixes. Porting the agent/server changes to windows.
Reviewed by: dcid
Bug:

Index: defs.h
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/headers/defs.h,v
diff -u -r1.32 -r1.33
--- defs.h	4 Sep 2006 20:39:21 -0000	1.32
+++ defs.h	7 Sep 2006 23:19:04 -0000	1.33
@@ -105,9 +105,14 @@
 /* Agent information location */
 #define AGENTINFO_DIR    "/queue/agent-info"
 
+
 /* Wait file */
-#define WAIT_FILE       "/queue/.wait"
-        
+#ifndef WIN32
+    #define WAIT_FILE       "/queue/.wait"
+#else
+    #define WAIT_FILE       ".wait"
+#endif
+    
         
 /* Internal definitions files */
 #ifndef WIN32
@@ -142,8 +147,11 @@
 
 
 /* Shared config directory */
-#define SHAREDCFG_DIR   "/etc/shared"
-
+#ifndef WIN32
+    #define SHAREDCFG_DIR   "/etc/shared"
+#else
+    #define SHAREDCFG_DIR   "shared"       
+#endif    
 
 /* Built in defines */
 #define DEFAULTQPATH	DEFAULTDIR DEFAULTQUEUE

Index: shared.h
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/headers/shared.h,v
diff -u -r1.24 -r1.25
--- shared.h	29 Aug 2006 19:35:42 -0000	1.24
+++ shared.h	7 Sep 2006 23:19:04 -0000	1.25
@@ -101,6 +101,8 @@
 typedef unsigned char u_int8_t;
 /* typedef closesocket close; */
 
+#define MSG_DONTWAIT    0
+
 #ifndef PROCESSOR_ARCHITECTURE_AMD64
  #define PROCESSOR_ARCHITECTURE_AMD64 9
 #endif


OSSEC home | Main Index | Thread Index


OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.