From: scottmk Date: Thu, 8 Jan 2009 17:13:58 +0000 (+0000) Subject: Rename macro for compilation guard; prepare for #inclusion in C++ X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0ae6b5bf1858900a7ea684ef74b813db7bf0edf4;p=opensrf%2Fbjwebb.git Rename macro for compilation guard; prepare for #inclusion in C++ git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1590 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/include/opensrf/xml_utils.h b/include/opensrf/xml_utils.h index 42318f9..ebcc15a 100644 --- a/include/opensrf/xml_utils.h +++ b/include/opensrf/xml_utils.h @@ -1,10 +1,14 @@ -#ifndef _XML_UTILS_H -#define _XML_UTILS_H +#ifndef XML_UTILS_H +#define XML_UTILS_H #include #include #include +#ifdef __cplusplus +extern "C" { +#endif + jsonObject* xmlDocToJSON(xmlDocPtr doc); /* debug function, prints each node and content */ @@ -29,5 +33,8 @@ char* xmlSaxAttr( const xmlChar** atts, const char* name ); */ int xmlAddAttrs( xmlNodePtr node, const xmlChar** atts ); +#ifdef __cplusplus +} +#endif #endif