Lines Matching refs:host
85 cldap_open( char *host, int port )
120 if (( ld = ldap_init( host, port )) == NULL ) {
138 * 'host' may be a space-separated list.
140 if ( host != NULL ) {
141 for ( ; host != NULL; host = p ) {
142 if (( p = strchr( host, ' ' )) != NULL ) {
148 if ( (address = inet_addr( host )) == -1 ) {
150 if ( (hp = gethostbyname_r( host, &hpret, hpbuf, NSS_BUFLEN_HOSTS, &hperrno)) == NULL ) {
155 if ( (hp = gethostbyname( host )) == NULL ) {
182 ld->ld_host = strdup( host );