[Opensrf-commits] r1607 - trunk/src/router

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Jan 8 16:58:17 EST 2009


Author: scottmk
Date: 2009-01-08 16:58:13 -0500 (Thu, 08 Jan 2009)
New Revision: 1607

Modified:
   trunk/src/router/osrf_router.h
Log:
Prepare for #inclusion in C++


Modified: trunk/src/router/osrf_router.h
===================================================================
--- trunk/src/router/osrf_router.h	2009-01-08 21:51:50 UTC (rev 1606)
+++ trunk/src/router/osrf_router.h	2009-01-08 21:58:13 UTC (rev 1607)
@@ -16,8 +16,10 @@
 
 #include "opensrf/osrf_message.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
-
 /* a router maintains a list of server classes */
 struct _osrfRouterStruct {
 
@@ -79,5 +81,9 @@
   */
 //int osrfRouterHandleRequestMessage( osrfRouter* router, transport_message* msg );
 
+#ifdef __cplusplus
+}
 #endif
 
+#endif
+



More information about the opensrf-commits mailing list