From d8b970b0c0e91361e8cab4744095cf2d5233be85 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Milo=C5=A1=20Mula=C4=8D?= Date: Thu, 9 Sep 2004 12:20:22 +0000 Subject: [PATCH] encapsulate definitions of functions into extern "C" {} --- org.glite.lb.common/interface/xml_parse.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/org.glite.lb.common/interface/xml_parse.h b/org.glite.lb.common/interface/xml_parse.h index b87d806..62624ee 100644 --- a/org.glite.lb.common/interface/xml_parse.h +++ b/org.glite.lb.common/interface/xml_parse.h @@ -10,6 +10,11 @@ #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__ */ -- 1.8.2.3