Lines Matching defs:opt

5 init_common(krb5_get_init_creds_opt *opt)
7 opt->flags |= KRB5_GET_INIT_CREDS_OPT_CHG_PWD_PRMPT;
11 krb5_get_init_creds_opt_init(krb5_get_init_creds_opt *opt)
13 opt->flags = 0;
14 init_common(opt);
18 krb5_get_init_creds_opt_set_tkt_life(krb5_get_init_creds_opt *opt, krb5_deltat tkt_life)
20 opt->flags |= KRB5_GET_INIT_CREDS_OPT_TKT_LIFE;
21 opt->tkt_life = tkt_life;
25 krb5_get_init_creds_opt_set_renew_life(krb5_get_init_creds_opt *opt, krb5_deltat renew_life)
27 opt->flags |= KRB5_GET_INIT_CREDS_OPT_RENEW_LIFE;
28 opt->renew_life = renew_life;
32 krb5_get_init_creds_opt_set_forwardable(krb5_get_init_creds_opt *opt, int forwardable)
34 opt->flags |= KRB5_GET_INIT_CREDS_OPT_FORWARDABLE;
35 opt->forwardable = forwardable;
39 krb5_get_init_creds_opt_set_proxiable(krb5_get_init_creds_opt *opt, int proxiable)
41 opt->flags |= KRB5_GET_INIT_CREDS_OPT_PROXIABLE;
42 opt->proxiable = proxiable;
46 krb5_get_init_creds_opt_set_etype_list(krb5_get_init_creds_opt *opt, krb5_enctype *etype_list, int etype_list_length)
48 opt->flags |= KRB5_GET_INIT_CREDS_OPT_ETYPE_LIST;
49 opt->etype_list = etype_list;
50 opt->etype_list_length = etype_list_length;
54 krb5_get_init_creds_opt_set_address_list(krb5_get_init_creds_opt *opt, krb5_address **addresses)
56 opt->flags |= KRB5_GET_INIT_CREDS_OPT_ADDRESS_LIST;
57 opt->address_list = addresses;
61 krb5_get_init_creds_opt_set_preauth_list(krb5_get_init_creds_opt *opt, krb5_preauthtype *preauth_list, int preauth_list_length)
63 opt->flags |= KRB5_GET_INIT_CREDS_OPT_PREAUTH_LIST;
64 opt->preauth_list = preauth_list;
65 opt->preauth_list_length = preauth_list_length;
69 krb5_get_init_creds_opt_set_salt(krb5_get_init_creds_opt *opt, krb5_data *salt)
71 opt->flags |= KRB5_GET_INIT_CREDS_OPT_SALT;
72 opt->salt = salt;
76 krb5_get_init_creds_opt_set_change_password_prompt(krb5_get_init_creds_opt *opt, int prompt)
79 opt->flags |= KRB5_GET_INIT_CREDS_OPT_CHG_PWD_PRMPT;
81 opt->flags &= ~KRB5_GET_INIT_CREDS_OPT_CHG_PWD_PRMPT;
168 krb5_get_init_creds_opt **opt)
172 if (NULL == opt)
174 *opt = NULL;
183 *opt = (krb5_get_init_creds_opt *) opte;
184 init_common(*opt);
190 krb5_get_init_creds_opt *opt)
194 if (NULL == opt)
198 if (!krb5_gic_opt_is_extended(opt))
201 opte = (krb5_gic_opt_ext *)opt;
210 krb5_get_init_creds_opt *opt,
219 if (opt)
220 memcpy(oe, opt, sizeof(*opt));
249 krb5_get_init_creds_opt *opt,
254 if (!krb5_gic_opt_is_extended(opt)) {
256 return krb5int_gic_opte_copy(context, opt, opte);
265 *opte = (krb5_gic_opt_ext *)opt;
329 * The 'opt' pointer supplied to this function must have been
334 krb5_get_init_creds_opt *opt,
341 retval = krb5int_gic_opt_to_opte(context, opt, &opte, 0,
365 * The 'opt' pointer supplied to this function must have been
370 krb5_get_init_creds_opt *opt,
380 retval = krb5int_gic_opt_to_opte(context, opt, &opte, 0,