[Opensrf-commits] r1610 - trunk/include/opensrf
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jan 8 17:18:20 EST 2009
Author: scottmk
Date: 2009-01-08 17:18:16 -0500 (Thu, 08 Jan 2009)
New Revision: 1610
Modified:
trunk/include/opensrf/osrf_system.h
Log:
Prepare for #inclusion in C++
Modified: trunk/include/opensrf/osrf_system.h
===================================================================
--- trunk/include/opensrf/osrf_system.h 2009-01-08 22:13:09 UTC (rev 1609)
+++ trunk/include/opensrf/osrf_system.h 2009-01-08 22:18:16 UTC (rev 1610)
@@ -8,8 +8,10 @@
#include <opensrf/osrfConfig.h>
#include <opensrf/osrf_cache.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
-
/** Connects to jabber. Returns 1 on success, 0 on failure
contextnode is the location in the config file where we collect config info
*/
@@ -57,4 +59,8 @@
/** Initialize the cache connection */
int osrfSystemInitCache(void);
+#ifdef __cplusplus
+}
#endif
+
+#endif
More information about the opensrf-commits
mailing list