Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libldap5/sources/ldap/common/
H A Dopen.c622 char *lhs_nexthost; member
659 (*statusp)->lhs_nexthost = (*statusp)->lhs_hostlist; in ldap_x_hostlist_first()
681 if ( NULL == status || NULL == status->lhs_nexthost ) { in ldap_x_hostlist_next()
690 if ( status->lhs_nexthost[0] == '[' ) { in ldap_x_hostlist_next()
691 ++status->lhs_nexthost; in ldap_x_hostlist_next()
696 if ( NULL != ( q = strchr( status->lhs_nexthost, ' ' ))) { in ldap_x_hostlist_next()
697 size_t len = q - status->lhs_nexthost; in ldap_x_hostlist_next()
702 strncpy( *hostp, status->lhs_nexthost, len ); in ldap_x_hostlist_next()
704 status->lhs_nexthost += ( len + 1 ); in ldap_x_hostlist_next()
706 *hostp = nsldapi_strdup( status->lhs_nexthost ); in ldap_x_hostlist_next()
[all …]