From d84b950fc87ece8d5ff84cfaa2b1d3a16b2c1af7 Mon Sep 17 00:00:00 2001 From: scottmk Date: Thu, 8 Jan 2009 22:06:19 +0000 Subject: [PATCH] Prepare for #inclusion in C++ git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1608 9efc2488-bf62-4759-914b-345cdb29e865 --- include/opensrf/osrf_settings.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/opensrf/osrf_settings.h b/include/opensrf/osrf_settings.h index 94b399f..3d27870 100644 --- a/include/opensrf/osrf_settings.h +++ b/include/opensrf/osrf_settings.h @@ -14,6 +14,10 @@ #include +#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 -- 2.43.2