Lines Matching refs:val
794 * char **val)
801 * (val returns realm validated)
804 * (val returns default realm configured)
807 * (val returns realm configured)
810 * (val returns realm not found)
813 * (val returns realm specified)
816 * (val returns realm specified)
819 * (val returns realm specified)
822 * (val returns realm specified)
825 * (val returns realm specified)
829 * (val returns the domain/host name)
832 * (val returns the realm specified)
833 * where val is the associated errant value, associated with val_err. This
850 k5_profile_validate(profile_t profile, char *realm, int *val_err, char **val)
857 if (profile == NULL || realm == NULL || val_err == NULL || val == NULL)
861 *val = NULL;
868 if ((*val = strdup(default_realm)) == NULL)
875 if ((*val = strdup(realm)) == NULL)
891 *val = strdup(*trealms);
892 if (*val == NULL)
910 if ((*val = strdup(*domains)) == NULL)
922 if ((*val = strdup(realm)) == NULL)
937 if ((*val = strdup(realm)) == NULL)
950 if ((*val = strdup(realm)) == NULL)
959 if ((*val = strdup(default_realm)) == NULL)
964 if ((*val = strdup(realm)) == NULL)
970 if ((*val = strdup(realm)) == NULL) {
975 if ((*val = strdup(realm)) == NULL)
1053 * k5_profile_validate_get_error_msg(profile_t profile, int err, char *val,
1059 * where val is the val returned by the k5_profile_validate function
1068 k5_profile_validate_get_error_msg(profile_t profile, int err, char *val,
1075 if (profile == NULL || val == NULL || err_msg == NULL)
1132 if (asprintf(err_msg, "%s: %s: %s", f, m, val) == -1)