Prepare for #inclusion in C++
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 8 Jan 2009 22:06:19 +0000 (22:06 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 8 Jan 2009 22:06:19 +0000 (22:06 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1608 9efc2488-bf62-4759-914b-345cdb29e865

include/opensrf/osrf_settings.h

index 94b399f..3d27870 100644 (file)
 
 #include <opensrf/osrf_json.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef struct { 
        char* hostname; 
        jsonObject* config; 
@@ -26,5 +30,9 @@ char* osrf_settings_host_value(const char* path, ...);
 jsonObject* osrf_settings_host_value_object(const char* format, ...);
 int osrf_settings_retrieve(const char* hostname);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif