Lines Matching refs:opt

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