• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/apr-util/ldap/

Lines Matching refs:ludp

264     apr_ldap_url_desc_t *ludp;
311 ludp = (apr_ldap_url_desc_t *)apr_pcalloc(pool, sizeof(apr_ldap_url_desc_t));
312 if ( ludp == NULL ) {
318 ludp->lud_next = NULL;
319 ludp->lud_host = NULL;
320 ludp->lud_port = LDAP_PORT;
321 ludp->lud_dn = NULL;
322 ludp->lud_attrs = NULL;
323 ludp->lud_filter = NULL;
324 ludp->lud_scope = -1;
325 ludp->lud_filter = NULL;
326 ludp->lud_exts = NULL;
328 ludp->lud_scheme = (char *)apr_pstrdup(pool, scheme);
329 if ( ludp->lud_scheme == NULL ) {
335 if( strcasecmp( ludp->lud_scheme, "ldaps" ) == 0 ) {
336 ludp->lud_port = LDAPS_PORT;
370 ludp->lud_port = atoi( q );
376 ludp->lud_host = (char *)apr_pstrdup(pool, url + ( *url == '[' ));
377 if( ludp->lud_host == NULL ) {
400 ludp->lud_dn = (char *)apr_pstrdup(pool, q);
402 ludp->lud_dn = (char *)apr_pstrdup(pool, "");
405 if( ludp->lud_dn == NULL ) {
414 *ludpp = ludp;
429 ludp->lud_dn = (char *)apr_pstrdup(pool, p);
431 ludp->lud_dn = (char *)apr_pstrdup(pool, "");
434 if( ludp->lud_dn == NULL ) {
442 *ludpp = ludp;
458 ludp->lud_attrs = apr_ldap_str2charray(pool, p, ",");
460 if( ludp->lud_attrs == NULL ) {
469 *ludpp = ludp;
485 ludp->lud_scope = str2scope( p );
487 if( ludp->lud_scope == -1 ) {
496 *ludpp = ludp;
520 ludp->lud_filter = (char *)apr_pstrdup(pool, p);
521 if( ludp->lud_filter == NULL ) {
530 *ludpp = ludp;
546 ludp->lud_exts = apr_ldap_str2charray(pool, p, ",");
547 if( ludp->lud_exts == NULL ) {
553 for( i=0; ludp->lud_exts[i] != NULL; i++ ) {
554 apr_ldap_pvt_hex_unescape( ludp->lud_exts[i] );
556 if( *ludp->lud_exts[i] == '!' ) {
558 ludp->lud_crit_exts++;
570 *ludpp = ludp;