Lines Matching +defs:val +defs:values
101 struct profile_string_list values;
107 if (code = init_list(&values))
125 code2 = add_to_list(&values, name);
127 end_list(&values, 0);
130 end_list(&values, &ret_values);
136 code2 = add_to_list(&values, name);
138 end_list(&values, 0);
157 end_list(&values, &ret_values);
159 end_list(&values, 0);
450 * where ret_value is a string array of any matching values assigned to name.
487 * where value is a string array values to assigned to name. The array is
490 * Note: if the name already exists the set is overwritten with the values
495 char **values)
501 if (profile == NULL || realm == NULL || name == NULL || values == NULL)
514 for (tvalue = values; *tvalue; tvalue++) {
852 * char **val, boolean_t master_required, boolean_t kdc_required)
856 * where val_err is a function specific error code of the following values:
859 * (val returns realm validated)
862 * (val returns default realm configured)
865 * (val returns realm configured)
868 * (val returns realm not found)
871 * (val returns realm specified)
874 * (val returns realm specified)
877 * (val returns realm specified)
880 * (val returns realm specified)
883 * (val returns realm specified)
887 * (val returns the domain/host name)
890 * (val returns the realm specified)
891 * where val is the associated errant value, associated with val_err. This
912 k5_profile_validate(profile_t profile, char *realm, int *val_err, char **val,
920 if (profile == NULL || realm == NULL || val_err == NULL || val == NULL)
924 *val = NULL;
932 *val = strdup(*trealms);
933 if (*val == NULL)
944 if ((*val = strdup(realm)) == NULL)
952 if ((*val = strdup(realm)) == NULL)
967 if ((*val = strdup(*domains)) == NULL)
978 if ((*val = strdup(realm)) == NULL)
994 if ((*val = strdup(realm)) == NULL)
1009 if ((*val = strdup(realm)) == NULL)
1021 if ((*val = strdup(default_realm)) == NULL)
1028 if ((*val = strdup(realm)) == NULL)
1043 if ((*val = strdup(default_realm)) == NULL)
1048 if ((*val = strdup(realm)) == NULL)
1129 * k5_profile_validate_get_error_msg(profile_t profile, int err, char *val,
1135 * where val is the val returned by the k5_profile_validate function
1144 k5_profile_validate_get_error_msg(profile_t profile, int err, char *val,
1151 if (profile == NULL || val == NULL || err_msg == NULL)
1198 if (asprintf(err_msg, "%s: %s: %s", f, m, val) == -1)