From: Daniel KouĊ™il Date: Fri, 17 Feb 2012 09:35:14 +0000 (+0000) Subject: stub for edg_wll_gss_connect_name(), which makes connection to server with a particul... X-Git-Tag: gridsite-core_R_1_7_17~83 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=cac81fcbfa9b3e51a7241bbf6d1f1c4784143806;p=jra1mw.git stub for edg_wll_gss_connect_name(), which makes connection to server with a particular DN --- diff --git a/org.glite.lbjp-common.gss/interface/glite_gss.h b/org.glite.lbjp-common.gss/interface/glite_gss.h index 78e0562..caa66cb 100644 --- a/org.glite.lbjp-common.gss/interface/glite_gss.h +++ b/org.glite.lbjp-common.gss/interface/glite_gss.h @@ -109,6 +109,16 @@ edg_wll_gss_connect_ext(edg_wll_GssCred cred, edg_wll_GssStatus* gss_code); int +edg_wll_gss_connect_name(edg_wll_GssCred cred, + char const *hostname, + int port, + const char *servername, + gss_OID_set mechs, + struct timeval *timeout, + edg_wll_GssConnection *connection, + edg_wll_GssStatus* gss_code); + +int edg_wll_gss_accept(edg_wll_GssCred cred, int sock, struct timeval *timeout, diff --git a/org.glite.lbjp-common.gss/src/glite_gss.c b/org.glite.lbjp-common.gss/src/glite_gss.c index 191b59d..10ecf5b 100644 --- a/org.glite.lbjp-common.gss/src/glite_gss.c +++ b/org.glite.lbjp-common.gss/src/glite_gss.c @@ -899,6 +899,20 @@ edg_wll_gss_connect_ext(edg_wll_GssCred cred, char const *hostname, int port, } int +edg_wll_gss_connect_name(edg_wll_GssCred cred, + char const *hostname, + int port, + const char *servername, + gss_OID_set mechs, + struct timeval *timeout, + edg_wll_GssConnection *connection, + edg_wll_GssStatus* gss_code) +{ + return ENOSYS; +} + + +int edg_wll_gss_connect(edg_wll_GssCred cred, char const *hostname, int port, struct timeval *timeout, edg_wll_GssConnection *connection, edg_wll_GssStatus* gss_code)