[Opensrf-commits] r1608 - trunk/include/opensrf
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jan 8 17:06:24 EST 2009
Author: scottmk
Date: 2009-01-08 17:06:19 -0500 (Thu, 08 Jan 2009)
New Revision: 1608
Modified:
trunk/include/opensrf/osrf_settings.h
Log:
Prepare for #inclusion in C++
Modified: trunk/include/opensrf/osrf_settings.h
===================================================================
--- trunk/include/opensrf/osrf_settings.h 2009-01-08 21:58:13 UTC (rev 1607)
+++ trunk/include/opensrf/osrf_settings.h 2009-01-08 22:06:19 UTC (rev 1608)
@@ -14,6 +14,10 @@
#include <opensrf/osrf_json.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct {
char* hostname;
jsonObject* config;
@@ -26,5 +30,9 @@
jsonObject* osrf_settings_host_value_object(const char* format, ...);
int osrf_settings_retrieve(const char* hostname);
+#ifdef __cplusplus
+}
#endif
+#endif
+
More information about the opensrf-commits
mailing list