Lines Matching refs:realms
37 _krb5_array_to_realms(krb5_context context, heim_array_t array, krb5_realm **realms)
43 *realms = calloc(len + 1, sizeof((*realms)[0]));
47 (*realms)[n] = heim_string_copy_utf8(s);
50 if ((*realms)[n] == NULL) {
51 krb5_free_host_realm(context, *realms);
54 *realms = NULL;
58 (*realms)[n] = NULL;
64 * Get the list of default realms and make sure there is at least
91 * Return a NULL-terminated list of default realms in `realms'.
97 krb5_realm **realms)
105 return _krb5_array_to_realms(context, context->default_realms, realms);