wrapped in extern "C"
authorMiloš Mulač <mulac@civ.zcu.cz>
Wed, 1 Sep 2004 12:14:39 +0000 (12:14 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Wed, 1 Sep 2004 12:14:39 +0000 (12:14 +0000)
org.glite.lb.common/Makefile
org.glite.lb.common/interface/lb_gss.h

index c8a581e..93d56c9 100644 (file)
@@ -111,7 +111,7 @@ check.parse: parse.cpp
        ${LINKXX} -o $@ parse.o ${LTLIB} ${TEST_LIBS}
 
 check.gss: test_gss
-       test_gss
+       ./test_gss
 
 check.il: il_test
        il_test
index 49dd2c2..ae1dc93 100644 (file)
@@ -5,6 +5,10 @@
 
 #include <gssapi.h>
 
+#ifdef __cplusplus
+extern "C" { 
+#endif
+
 enum {
   EDG_WLL_GSS_OK               =  0,  /* no GSS errors */
   EDG_WLL_GSS_ERROR_GSS                = -1,  /* GSS specific error, call edg_wll_get_gss_error() for details */
@@ -105,4 +109,8 @@ int
 edg_wll_gss_get_name(gss_cred_id_t cred, char **name);
 */
 
+#ifdef __cplusplus
+} 
+#endif
+       
 #endif /* __EDG_WORKLOAD_LOGGING_COMMON_LB_GSS_H__ */