prepare for #inclusion in C++
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1593
9efc2488-bf62-4759-914b-
345cdb29e865
+#ifndef osrf_message_h
+#define osrf_message_h
+
#include <opensrf/string_array.h>
#include <opensrf/utils.h>
#include <opensrf/log.h>
#include <libxml/xpathInternals.h>
#include <libxml/tree.h>
-
-
-#ifndef osrf_message_h
-#define osrf_message_h
+#ifdef __cplusplus
+extern "C" {
+#endif
#define OSRF_XML_NAMESPACE "http://open-ils.org/xml/namespaces/oils_v1"
char* osrfMessageSerializeBatch( osrfMessage* msgs [], int count );
+#ifdef __cplusplus
+}
+#endif
#endif