From: Miloš Mulač Date: Wed, 1 Sep 2004 12:14:39 +0000 (+0000) Subject: wrapped in extern "C" X-Git-Tag: ext_bones_merge_dest~41 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=b5c7fc29c7a1f27f46af9e08502deeb8d1f8a5a8;p=jra1mw.git wrapped in extern "C" --- 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__ */