Prepare for #inclusion in C++
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 8 Jan 2009 20:08:05 +0000 (20:08 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 8 Jan 2009 20:08:05 +0000 (20:08 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@11771 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/include/openils/oils_event.h

index 273c36d..ccfe4ab 100644 (file)
@@ -5,6 +5,9 @@
 #include "opensrf/log.h"
 #include "opensrf/osrf_hash.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 /* OILS Event structure */
 struct _oilsEventStruct {
@@ -53,6 +56,8 @@ jsonObject* oilsEventToJSON( oilsEvent* event );
 /* Frees an event object */
 void oilsEventFree( oilsEvent* event );
 
-
+#ifdef __cplusplus
+}
+#endif
 
 #endif