From: scottmk Date: Thu, 8 Jan 2009 22:06:19 +0000 (+0000) Subject: Prepare for #inclusion in C++ X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d84b950fc87ece8d5ff84cfaa2b1d3a16b2c1af7;p=opensrf%2Fbjwebb.git Prepare for #inclusion in C++ git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1608 9efc2488-bf62-4759-914b-345cdb29e865 --- 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