Home
last modified time | relevance | path

Searched refs:hostlist (Results 1 – 10 of 10) sorted by relevance

/netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dkrbhst.c473 char **hostlist; in config_get_hosts() local
474 hostlist = krb5_config_get_strings(context, NULL, in config_get_hosts()
478 kd->realm, hostlist ? "" : " not"); in config_get_hosts()
480 if(hostlist == NULL) in config_get_hosts()
483 for(i = 0; hostlist && hostlist[i] != NULL; i++) in config_get_hosts()
484 append_host_string(context, kd, hostlist[i], kd->def_port, kd->port); in config_get_hosts()
486 krb5_config_free_strings(hostlist); in config_get_hosts()
1077 unsigned int type, char ***hostlist) in gethostlist() argument
1096 *hostlist = calloc(nhost + 1, sizeof(**hostlist)); in gethostlist()
1097 if(*hostlist == NULL) { in gethostlist()
[all …]
/netbsd-src/external/bsd/openldap/dist/libraries/libldap/
H A Ddnssrv.c259 char *hostlist = NULL; in ldap_domain2hostlist() local
390 hostlist = (char *) LDAP_REALLOC(hostlist, cur+buflen+1); in ldap_domain2hostlist()
391 if (hostlist == NULL) { in ldap_domain2hostlist()
396 hostlist[cur++]=' '; in ldap_domain2hostlist()
398 cur += sprintf(&hostlist[cur], "%s:%hu", hostent_head[i].hostname, hostent_head[i].port); in ldap_domain2hostlist()
402 if (hostlist == NULL) { in ldap_domain2hostlist()
409 *list = hostlist; in ldap_domain2hostlist()
420 if (rc != LDAP_SUCCESS && hostlist != NULL) { in ldap_domain2hostlist()
421 LDAP_FREE(hostlist); in ldap_domain2hostlist()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-dnssrv/
H A Dreferral.c45 char *hostlist = NULL; in dnssrv_back_referrals() local
80 i = ldap_domain2hostlist( domain, &hostlist ); in dnssrv_back_referrals()
90 hosts = ldap_str2charray( hostlist, " " ); in dnssrv_back_referrals()
130 if( hostlist != NULL ) ch_free( hostlist ); in dnssrv_back_referrals()
H A Dsearch.c46 char *hostlist = NULL; in dnssrv_back_search() local
90 if( ( rc = ldap_domain2hostlist( domain, &hostlist ) ) ) { in dnssrv_back_search()
98 hosts = ldap_str2charray( hostlist, " " ); in dnssrv_back_search()
240 if( hostlist != NULL ) ch_free( hostlist ); in dnssrv_back_search()
/netbsd-src/usr.sbin/mountd/
H A Dmountd.c125 struct hostlist *dp_hosts; /* List of hosts this dir exported to */
161 struct hostlist { struct
164 struct hostlist *ht_next; argument
200 static void free_host(struct hostlist *);
204 static struct hostlist *get_ht(void);
863 struct hostlist *hp; in put_exlist()
1406 struct hostlist *hp; in hang_dirp()
1454 struct hostlist *hp; in add_dlist()
1664 struct hostlist *hp; in chk_host()
1931 free_host(struct hostlist *hp) in free_host()
[all …]
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/kadm5/
H A Dinit_c.c113 char **hostlist; in _kadm5_c_init_context() local
115 ret = krb5_get_krb_admin_hst (context, &(*ctx)->realm, &hostlist); in _kadm5_c_init_context()
121 (*ctx)->admin_server = strdup(*hostlist); in _kadm5_c_init_context()
122 krb5_free_krbhst (context, hostlist); in _kadm5_c_init_context()
/netbsd-src/external/bsd/openldap/dist/clients/tools/
H A Dcommon.c1224 *hostlist = NULL, in tool_conn_setup() local
1239 rc = ldap_domain2hostlist( domain, &hostlist ); in tool_conn_setup()
1248 hosts = ldap_str2charray( hostlist, " " ); in tool_conn_setup()
1253 hostlist ); in tool_conn_setup()
1290 ber_memfree( hostlist ); in tool_conn_setup()
/netbsd-src/external/bsd/openldap/dist/include/
H A Dldap.h1115 char** hostlist ));
/netbsd-src/crypto/external/bsd/heimdal/dist/
H A DChangeLog.2001505 * lib/krb5/krbhst.c (config_get_hosts): free hostlist
H A DChangeLog.19982953 * lib/krb5/krbhst.c: Properly free hostlist.