Lines Matching defs:hostname
71 * ld = ldap_open( hostname, port );
221 * default to localhost when hostname is not specified
222 * or if null string is passed as hostname
257 char *curhost, hostname[ 2*MAXHOSTNAMELEN ];
269 (void) strncpy(hostname, p, q - p);
270 hostname[ q - p ] = '\0';
271 curhost = hostname;
282 if (curhost != hostname) {
284 (void) strcpy(hostname, curhost);
285 r = hostname + (r - curhost);
286 curhost = hostname;
333 * ld = ldap_ssl_open( hostname, port, key );