[Opensrf-commits] r1600 - trunk/src/jserver

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Jan 8 15:58:00 EST 2009


Author: scottmk
Date: 2009-01-08 15:57:55 -0500 (Thu, 08 Jan 2009)
New Revision: 1600

Modified:
   trunk/src/jserver/osrf_chat.h
Log:
Prepare for #inclusion in C++


Modified: trunk/src/jserver/osrf_chat.h
===================================================================
--- trunk/src/jserver/osrf_chat.h	2009-01-08 20:44:50 UTC (rev 1599)
+++ trunk/src/jserver/osrf_chat.h	2009-01-08 20:57:55 UTC (rev 1600)
@@ -33,6 +33,10 @@
 #include <libxml/globals.h>
 #include <libxml/xmlerror.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* client to server XML */
 #define OSRF_CHAT_START_STREAM "<?xml version='1.0'?><stream:stream "\
 	"xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' "\
@@ -258,6 +262,9 @@
 
 static const xmlSAXHandlerPtr osrfChatSaxHandler = &osrfChatSaxHandlerStruct;
 
+#ifdef __cplusplus
+}
+#endif
 
 #endif
 



More information about the opensrf-commits mailing list