From 9f4c14777e40a8537d9e252e2f5d415c603f4849 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Kou=C5=99il?= Date: Tue, 7 Aug 2007 09:30:59 +0000 Subject: [PATCH] forgotten changes to get rid of the globus/gssapi dependency - using edg_wll_gss_gethostname() and edg_wll_GssCred --- org.glite.jp.index/examples/jpis-test.c | 2 +- org.glite.jp.index/src/context.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/org.glite.jp.index/examples/jpis-test.c b/org.glite.jp.index/examples/jpis-test.c index 02ac20e..4f14c8a 100644 --- a/org.glite.jp.index/examples/jpis-test.c +++ b/org.glite.jp.index/examples/jpis-test.c @@ -92,7 +92,7 @@ int main(int argc,char *argv[]) memset(rec, 0, sizeof(*rec)); rec->jobid = soap_strdup(soap, "https://localhost:7846/pokus1"); { - gss_cred_id_t cred = GSS_C_NO_CREDENTIAL; + edg_wll_GssCred cred = NULL; edg_wll_GssStatus gss_code; char *subject = NULL; diff --git a/org.glite.jp.index/src/context.c b/org.glite.jp.index/src/context.c index d6f1379..2316e7e 100644 --- a/org.glite.jp.index/src/context.c +++ b/org.glite.jp.index/src/context.c @@ -2,7 +2,7 @@ #include #include -#include +#include #include "conf.h" #include "context.h" @@ -15,7 +15,7 @@ int glite_jpis_init_context(glite_jpis_context_t *isctx, glite_jp_context_t jpct if ((*isctx = calloc(sizeof(**isctx), 1)) != NULL) { (*isctx)->jpctx = jpctx; (*isctx)->conf = conf; - globus_libc_gethostname(hname, sizeof hname); + edg_wll_gss_gethostname(hname, sizeof hname); asprintf(&(*isctx)->hname, "https://%s:%s", hname, (conf && conf->port) ? conf->port : GLITE_JPIS_DEFAULT_PORT_STR); op_args = (*isctx)->op_args; -- 1.8.2.3