Wrapped with '__cplusplus' to allow link with C++ objects
authorDaniel Kouřil <kouril@ics.muni.cz>
Thu, 24 Nov 2005 09:41:49 +0000 (09:41 +0000)
committerDaniel Kouřil <kouril@ics.muni.cz>
Thu, 24 Nov 2005 09:41:49 +0000 (09:41 +0000)
org.glite.security.gsoap-plugin/interface/glite_gsplugin.h

index 1272a48..ba6e131 100644 (file)
@@ -5,6 +5,10 @@
 
 #include "glite_gss.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #define PLUGIN_ID              "GLITE_GSOAP_PLUGIN"
 
 struct _glite_gsplugin_ctx {
@@ -34,4 +38,8 @@ extern void glite_gsplugin_set_timeout(glite_gsplugin_Context, struct timeval co
 extern int glite_gsplugin(struct soap *, struct soap_plugin *, void *);
 extern char *glite_gsplugin_errdesc(struct soap *);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif