Lines Matching defs:urlp
59 static int skip_url_prefix( const char **urlp, int *enclosedp, int *securep );
74 skip_url_prefix( const char **urlp, int *enclosedp, int *securep )
78 * if non-zero returned, *urlp will be moved past "ldap://" part of URL
79 * The data that *urlp points to is not changed by this function.
81 if ( *urlp == NULL ) {
86 if ( **urlp == '<' ) {
88 ++*urlp;
94 if ( strlen( *urlp ) >= LDAP_URL_URLCOLON_LEN && strncasecmp(
95 *urlp, LDAP_URL_URLCOLON, LDAP_URL_URLCOLON_LEN ) == 0 ) {
96 *urlp += LDAP_URL_URLCOLON_LEN;
100 if ( strlen( *urlp ) >= LDAP_URL_PREFIX_LEN && strncasecmp( *urlp,
103 *urlp += LDAP_URL_PREFIX_LEN;
109 if ( strlen( *urlp ) >= LDAPS_URL_PREFIX_LEN && strncasecmp( *urlp,
112 *urlp += LDAPS_URL_PREFIX_LEN;