Lines Matching refs:gsasl
46 struct gsasldata *gsasl) in Curl_auth_gsasl_is_supported() argument
50 res = gsasl_init(&gsasl->ctx); in Curl_auth_gsasl_is_supported()
56 res = gsasl_client_start(gsasl->ctx, mech, &gsasl->client); in Curl_auth_gsasl_is_supported()
58 gsasl_done(gsasl->ctx); in Curl_auth_gsasl_is_supported()
68 struct gsasldata *gsasl) in Curl_auth_gsasl_start() argument
74 gsasl_property_set(gsasl->client, GSASL_AUTHID, userp); in Curl_auth_gsasl_start()
85 gsasl_property_set(gsasl->client, GSASL_PASSWORD, passwdp); in Curl_auth_gsasl_start()
100 struct gsasldata *gsasl, in Curl_auth_gsasl_token() argument
107 res = gsasl_step(gsasl->client, in Curl_auth_gsasl_token()
119 void Curl_auth_gsasl_cleanup(struct gsasldata *gsasl) in Curl_auth_gsasl_cleanup() argument
121 gsasl_finish(gsasl->client); in Curl_auth_gsasl_cleanup()
122 gsasl->client = NULL; in Curl_auth_gsasl_cleanup()
124 gsasl_done(gsasl->ctx); in Curl_auth_gsasl_cleanup()
125 gsasl->ctx = NULL; in Curl_auth_gsasl_cleanup()