[Opensrf-commits] r1609 - trunk/include/opensrf

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Jan 8 17:13:14 EST 2009


Author: scottmk
Date: 2009-01-08 17:13:09 -0500 (Thu, 08 Jan 2009)
New Revision: 1609

Modified:
   trunk/include/opensrf/osrf_stack.h
Log:
Prepare for #inclusion in C++


Modified: trunk/include/opensrf/osrf_stack.h
===================================================================
--- trunk/include/opensrf/osrf_stack.h	2009-01-08 22:06:19 UTC (rev 1608)
+++ trunk/include/opensrf/osrf_stack.h	2009-01-08 22:13:09 UTC (rev 1609)
@@ -5,7 +5,15 @@
 #include <opensrf/osrf_message.h>
 #include <opensrf/osrf_app_session.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 osrfAppSession*  osrf_stack_transport_handler( transport_message* msg,
 		const char* my_service );
 
+#ifdef __cplusplus
+}
 #endif
+
+#endif



More information about the opensrf-commits mailing list