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

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