Prepare for #inclusion in C++
[OpenSRF.git] / include / opensrf / osrf_stack.h
index a898751..c3a14d6 100644 (file)
@@ -5,7 +5,15 @@
 #include <opensrf/osrf_message.h>
 #include <opensrf/osrf_app_session.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 osrfAppSession*  osrf_stack_transport_handler( transport_message* msg,
                const char* my_service );
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif