Lines Matching defs:handle
225 _krb5_krbhst_get_realm(krb5_krbhst_handle handle)
227 return handle->realm;
907 struct krb5_krbhst_data *handle = (struct krb5_krbhst_data *)ptr;
910 for (h = handle->hosts; h != NULL; h = next) {
914 if (handle->hostname)
915 free(handle->hostname);
917 free(handle->realm);
950 * initialize `handle' to look for hosts of type `type' in realm `realm'
957 krb5_krbhst_handle *handle)
959 return krb5_krbhst_init_flags(context, realm, type, 0, handle);
967 krb5_krbhst_handle *handle)
975 *handle = NULL;
1004 *handle = kd;
1009 * return the next host information from `handle' in `host'
1014 krb5_krbhst_handle handle,
1017 if(get_next(handle, host))
1020 return (*handle->get_next)(context, handle, host);
1024 * return the next host information from `handle' as a host name
1030 krb5_krbhst_handle handle,
1036 ret = krb5_krbhst_next(context, handle, &host);
1048 krb5_krbhst_handle handle,
1051 if (handle->hostname)
1052 free(handle->hostname);
1053 handle->hostname = strdup(hostname);
1054 if (handle->hostname == NULL)
1060 krb5_krbhst_reset(krb5_context context, krb5_krbhst_handle handle)
1062 handle->index = &handle->hosts;
1066 krb5_krbhst_free(krb5_context context, krb5_krbhst_handle handle)
1068 heim_release(handle);
1081 krb5_krbhst_handle handle;
1085 ret = krb5_krbhst_init(context, realm, type, &handle);
1089 while(krb5_krbhst_next(context, handle, &hostinfo) == 0)
1098 krb5_krbhst_free(context, handle);
1102 krb5_krbhst_reset(context, handle);
1104 while(krb5_krbhst_next_as_string(context, handle,
1108 krb5_krbhst_free(context, handle);
1113 krb5_krbhst_free(context, handle);