Lines Matching refs:opt

6 init_common(krb5_get_init_creds_opt *opt)
8 opt->flags |= KRB5_GET_INIT_CREDS_OPT_CHG_PWD_PRMPT;
12 krb5_get_init_creds_opt_init(krb5_get_init_creds_opt *opt)
14 opt->flags = 0;
15 init_common(opt);
19 krb5_get_init_creds_opt_set_tkt_life(krb5_get_init_creds_opt *opt, krb5_deltat tkt_life)
21 opt->flags |= KRB5_GET_INIT_CREDS_OPT_TKT_LIFE;
22 opt->tkt_life = tkt_life;
26 krb5_get_init_creds_opt_set_renew_life(krb5_get_init_creds_opt *opt, krb5_deltat renew_life)
28 opt->flags |= KRB5_GET_INIT_CREDS_OPT_RENEW_LIFE;
29 opt->renew_life = renew_life;
33 krb5_get_init_creds_opt_set_forwardable(krb5_get_init_creds_opt *opt, int forwardable)
35 opt->flags |= KRB5_GET_INIT_CREDS_OPT_FORWARDABLE;
36 opt->forwardable = forwardable;
40 krb5_get_init_creds_opt_set_proxiable(krb5_get_init_creds_opt *opt, int proxiable)
42 opt->flags |= KRB5_GET_INIT_CREDS_OPT_PROXIABLE;
43 opt->proxiable = proxiable;
47 krb5_get_init_creds_opt_set_canonicalize(krb5_get_init_creds_opt *opt, int canonicalize)
50 opt->flags |= KRB5_GET_INIT_CREDS_OPT_CANONICALIZE;
52 opt->flags &= ~(KRB5_GET_INIT_CREDS_OPT_CANONICALIZE);
56 krb5_get_init_creds_opt_set_anonymous (krb5_get_init_creds_opt *opt,
60 opt->flags |= KRB5_GET_INIT_CREDS_OPT_ANONYMOUS;
61 else opt->flags &= ~KRB5_GET_INIT_CREDS_OPT_ANONYMOUS;
65 krb5_get_init_creds_opt_set_etype_list(krb5_get_init_creds_opt *opt, krb5_enctype *etype_list, int etype_list_length)
67 opt->flags |= KRB5_GET_INIT_CREDS_OPT_ETYPE_LIST;
68 opt->etype_list = etype_list;
69 opt->etype_list_length = etype_list_length;
73 krb5_get_init_creds_opt_set_address_list(krb5_get_init_creds_opt *opt, krb5_address **addresses)
75 opt->flags |= KRB5_GET_INIT_CREDS_OPT_ADDRESS_LIST;
76 opt->address_list = addresses;
80 krb5_get_init_creds_opt_set_preauth_list(krb5_get_init_creds_opt *opt, krb5_preauthtype *preauth_list, int preauth_list_length)
82 opt->flags |= KRB5_GET_INIT_CREDS_OPT_PREAUTH_LIST;
83 opt->preauth_list = preauth_list;
84 opt->preauth_list_length = preauth_list_length;
88 krb5_get_init_creds_opt_set_salt(krb5_get_init_creds_opt *opt, krb5_data *salt)
90 opt->flags |= KRB5_GET_INIT_CREDS_OPT_SALT;
91 opt->salt = salt;
95 krb5_get_init_creds_opt_set_change_password_prompt(krb5_get_init_creds_opt *opt, int prompt)
98 opt->flags |= KRB5_GET_INIT_CREDS_OPT_CHG_PWD_PRMPT;
100 opt->flags &= ~KRB5_GET_INIT_CREDS_OPT_CHG_PWD_PRMPT;
189 krb5_get_init_creds_opt **opt)
193 if (NULL == opt)
195 *opt = NULL;
204 *opt = (krb5_get_init_creds_opt *) opte;
205 init_common(*opt);
211 krb5_get_init_creds_opt *opt)
215 if (NULL == opt)
219 if (!krb5_gic_opt_is_extended(opt))
222 opte = (krb5_gic_opt_ext *)opt;
231 krb5_get_init_creds_opt *opt,
240 if (opt) {
241 oe->flags = opt->flags;
242 oe->tkt_life = opt->tkt_life;
243 oe->renew_life = opt->renew_life;
244 oe->forwardable = opt->forwardable;
245 oe->proxiable = opt->proxiable;
246 oe->etype_list = opt->etype_list;
247 oe->etype_list_length = opt->etype_list_length;
248 oe->address_list = opt->address_list;
249 oe->preauth_list = opt->preauth_list;
250 oe->preauth_list_length = opt->preauth_list_length;
251 oe->salt = opt->salt;
281 krb5_get_init_creds_opt *opt,
286 if (!krb5_gic_opt_is_extended(opt)) {
288 return krb5int_gic_opte_copy(context, opt, opte);
297 *opte = (krb5_gic_opt_ext *)opt;
361 * The 'opt' pointer supplied to this function must have been
366 krb5_get_init_creds_opt *opt,
373 retval = krb5int_gic_opt_to_opte(context, opt, &opte, 0,
397 * The 'opt' pointer supplied to this function must have been
402 krb5_get_init_creds_opt *opt,
412 retval = krb5int_gic_opt_to_opte(context, opt, &opte, 0,
483 krb5_get_init_creds_opt *opt,
489 retval = krb5int_gic_opt_to_opte(context, opt, &opte, 0,
504 krb5_get_init_creds_opt *opt,
510 retval = krb5int_gic_opt_to_opte(context, opt, &opte, 0,
520 krb5_get_init_creds_opt *opt,
526 retval = krb5int_gic_opt_to_opte(context, opt, &opte, 0,
536 krb5_get_init_creds_opt *opt,
545 retval = krb5int_gic_opt_to_opte(context, opt, &opte, 0,