[Snort-devel] [PATH] spo_xml.h

Peter Moore peter at ...799...
Sun Nov 4 23:51:01 EST 2001


for BeOS BONE.
this is the last patch!! apart from some configuration patches to come later 
today.

as per spo_xml.c BeOS has its own send_data function used for messaging.
this is a check for BEOS and defines an alternate function name.


snort-1.8.2->diff -u spo_xml.h.orig spo_xml.h
--- spo_xml.h.orig      Mon Nov  5 01:40:21 2001
+++ spo_xml.h   Mon Nov  5 02:23:33 2001
@@ -177,7 +177,11 @@
 XmlData *ParseXmlArgs(char *);

 /* Result data goes here */
+#ifdef BEOS
+void send_xml_data(XmlData *);
+#else
 void send_data(XmlData *);
+#endif
 void send_data_network(XmlData *, char *);
 void BrokenNetConnection(int); 





More information about the Snort-devel mailing list