Re: KITTEN: IETF 75 - 76
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: KITTEN: IETF 75 - 76
1 sep 2009 kl. 10:31 skrev Nicolas Williams:
Here's another based on background threads and a completion callback
instead of an event notification:
major = gss_init_sec_context_async_cb(&minor,
cred, &ctx, target, mech, req_flags,
GSS_C_INDEFINITE, cb, &input_token, &output_token,
&ret_flags, NULL, cb_func, &cb_data);
The callback should take all output variables, for example:
OM_uint32
gss_acquire_cred_ex_f(gss_status_id_t /* status */,
const gss_name_t /* desired_name */,
OM_uint32 /* flags */,
OM_uint32 /* time_req */,
const gss_OID /*desired_mech */,
gss_cred_usage_t /* cred_usage */,
gss_auth_identity_t /* identity */,
void * /* ctx */,
void (* /* complete */)(void *, OM_uint32, gss_status_id_t,
gss_cred_id_t, gss_OID_set, OM_uint32));
OM_uint32
gss_iter_creds_f(gss_status_id_t /* status */,
OM_uint32 /* flags */,
gss_OID /* mech */,
void * /* userctx */,
void (* /*cred_iter */ )(void *, gss_OID, gss_cred_id_t));
Love
Note: Messages sent to this list are the opinions of the senders and do not imply endorsement by the IETF.