encapsulate definitions of functions into extern "C" {}
authorMiloš Mulač <mulac@civ.zcu.cz>
Thu, 9 Sep 2004 12:20:22 +0000 (12:20 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Thu, 9 Sep 2004 12:20:22 +0000 (12:20 +0000)
org.glite.lb.common/interface/xml_parse.h

index b87d806..62624ee 100644 (file)
 #include "glite/lb/producer.h"
 #include "glite/lb/notification.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+       
+
 /* function for parsing XML responses from server */
 
 extern edg_wll_ErrorCode edg_wll_ParseQueryEvents(edg_wll_Context, char *, edg_wll_Event **);
@@ -54,5 +59,8 @@ extern int edg_wll_IndexedAttrsRequestToXML(edg_wll_Context ctx, char **message)
 
 extern int edg_wll_NotifRequestToXML( edg_wll_Context ctx, const char *function, const edg_wll_NotifId notifId, const char *address, edg_wll_NotifChangeOp op, edg_wll_QueryRec const * const *conditions, char **message);
 
-       
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* __EDG_WORKLOAD_LOGGING_COMMON_XML_PARSE_H__ */