Lines Matching refs:params_in
548 * params_in (r) params structure containing user-supplied
555 * obtained from params_in, the specified profile, and default
560 * params_in and params_out may be the same pointer. However, all pointers
561 * in params_in for which the mask is set will be re-assigned to newly copied
565 params_in, params_out)
568 kadm5_config_params *params_in, *params_out;
593 if (params_in == NULL) params_in = &empty_params;
595 if (params_in->mask & KADM5_CONFIG_REALM) {
596 lrealm = params.realm = strdup(params_in->realm);
607 if (params_in->mask & KADM5_CONFIG_KVNO) {
608 params.kvno = params_in->kvno;
645 get_string_param(¶ms.FIELD, params_in->FIELD, \
646 ¶ms.mask, params_in->mask, BIT, \
707 get_port_param(¶ms.FIELD, params_in->FIELD, \
708 ¶ms.mask, params_in->mask, BIT, \
724 if (params_in->mask & KADM5_CONFIG_ENCTYPE) {
726 params.enctype = params_in->enctype;
739 if (params_in->mask & KADM5_CONFIG_MKEY_FROM_KBD) {
741 params.mkey_from_kbd = params_in->mkey_from_kbd;
750 get_deltat_param(¶ms.FIELD, params_in->FIELD, \
751 ¶ms.mask, params_in->mask, BIT, \
773 if (params_in->mask & KADM5_CONFIG_EXPIRATION) {
775 params.expiration = params_in->expiration;
789 if (params_in->mask & KADM5_CONFIG_FLAGS) {
791 params.flags = params_in->flags;
831 if (params_in->mask & KADM5_CONFIG_ENCTYPES) {
833 if(params_in->keysalts) {
834 params.keysalts = copy_key_salt_tuple(params_in->keysalts,
835 params_in->num_keysalts);
838 params.num_keysalts = params_in->num_keysalts;
843 params.num_keysalts = params_in->num_keysalts;
868 if (params_in->mask & KADM5_CONFIG_KPASSWD_SERVER) {
870 params.kpasswd_server = strdup(params_in->kpasswd_server);
935 if (params_in->mask & KADM5_CONFIG_KPASSWD_PROTOCOL) {
937 params.kpasswd_protocol = params_in->kpasswd_protocol;
962 if (params_in->mask & KADM5_CONFIG_KPASSWD_PORT)
963 params.kpasswd_port = params_in->kpasswd_port;
988 if (params_in->mask & KADM5_CONFIG_IPROP_ENABLED) {
990 params.iprop_enabled = params_in->iprop_enabled;
1017 if (params_in->mask & KADM5_CONFIG_ULOG_SIZE) {
1019 params.iprop_ulogsize = params_in->iprop_ulogsize;
1082 kadm5_config_params params_in, params_out;
1085 memset(¶ms_in, 0, sizeof(params_in));
1088 params_in.mask |= KADM5_CONFIG_REALM;
1089 params_in.realm = realm_in;
1090 ret = kadm5_get_config_params(ctx, 0, ¶ms_in, ¶ms_out);