From b5c7fc29c7a1f27f46af9e08502deeb8d1f8a5a8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Milo=C5=A1=20Mula=C4=8D?= Date: Wed, 1 Sep 2004 12:14:39 +0000 Subject: [PATCH] wrapped in extern "C" --- org.glite.lb.common/Makefile | 2 +- org.glite.lb.common/interface/lb_gss.h | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/org.glite.lb.common/Makefile b/org.glite.lb.common/Makefile index c8a581e..93d56c9 100644 --- a/org.glite.lb.common/Makefile +++ b/org.glite.lb.common/Makefile @@ -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 diff --git a/org.glite.lb.common/interface/lb_gss.h b/org.glite.lb.common/interface/lb_gss.h index 49dd2c2..ae1dc93 100644 --- a/org.glite.lb.common/interface/lb_gss.h +++ b/org.glite.lb.common/interface/lb_gss.h @@ -5,6 +5,10 @@ #include +#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__ */ -- 1.8.2.3