Lines Matching refs:new_hostname
39 char **new_hostname)
41 *new_hostname = strdup (orig_hostname);
42 if (*new_hostname == NULL) {
47 strlwr (*new_hostname);
54 * new_hostname.
58 * @param new_hostname output hostname, caller must free hostname with
69 char **new_hostname)
75 return copy_hostname (context, orig_hostname, new_hostname);
82 return copy_hostname (context, orig_hostname, new_hostname);
85 *new_hostname = strdup (a->ai_canonname);
87 if (*new_hostname == NULL) {
97 return copy_hostname (context, orig_hostname, new_hostname);
107 char **new_hostname,
112 ret = copy_hostname (context, orig_hostname, new_hostname);
115 strlwr (*new_hostname);
117 ret = krb5_get_host_realm (context, *new_hostname, realms);
119 free (*new_hostname);
127 * believe to be a hostname in newly allocated space in new_hostname
128 * and return the realms new_hostname is believed to belong to in
133 * @param new_hostname output hostname, caller must free hostname with
146 char **new_hostname,
154 return vanilla_hostname (context, orig_hostname, new_hostname,
162 return vanilla_hostname (context, orig_hostname, new_hostname,
167 ret = copy_hostname (context, a->ai_canonname, new_hostname);
172 strlwr (*new_hostname);
173 ret = krb5_get_host_realm (context, *new_hostname, realms);
178 free (*new_hostname);
182 return vanilla_hostname (context, orig_hostname, new_hostname, realms);