Searched defs:ctrls (Results 1 - 9 of 9) sorted by relevance
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | vlistctrl.c | 70 int ldap_parse_virtuallist_control(LDAP *ld, LDAPControl **ctrls, argument 87 if (ctrls == NULL) { 93 for (i = 0; ((ctrls[i] != NULL) && (!foundListControl)); i++) { 94 foundListControl = !(strcmp(ctrls[i]->ldctl_oid, 102 listCtrlp = ctrls[i-1];
|
H A D | controls.c | 34 void ldap_controls_free (LDAPControl **ctrls) argument 38 if (ctrls == NULL) 41 for (i = 0; ctrls[i] != NULL; i++){ 42 ldap_control_free(ctrls[i]); 44 free((char *)ctrls); 98 LDAPControl ** ldap_controls_dup(LDAPControl ** ctrls) argument 103 for (i = 0; ctrls[i] != NULL; i++); 109 for (i = 0; ctrls[i] != NULL; i++) { 110 newctrls[i] = ldap_control_dup(ctrls[i]); 119 int ldap_controls_code (BerElement *ber, LDAPControl **ctrls) argument 166 LDAPControl ** ctrls = NULL; local [all...] |
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | psearch.c | 80 ldap_parse_entrychange_control( LDAP *ld, LDAPControl **ctrls, int *chgtypep, argument 96 for ( i = 0; ctrls != NULL && ctrls[i] != NULL; ++i ) { 97 if ( strcmp( ctrls[i]->ldctl_oid, LDAP_CONTROL_ENTRYCHANGE ) == 0 ) { 102 if ( ctrls == NULL || ctrls[i] == NULL ) { 122 if (( ber = ber_init( &(ctrls[i]->ldctl_value))) == NULL ) {
|
H A D | vlistctrl.c | 153 * "ctrls" *target_posp, *list_sizep, and *errcodep are set based on its 181 LDAPControl **ctrls, 204 if ( ctrls == NULL ) { 210 for ( i = 0; (( ctrls[i] != NULL ) && ( !foundListControl )); i++ ) { 211 foundListControl = !strcmp( ctrls[i]->ldctl_oid, 219 listCtrlp = ctrls[i-1]; 178 ldap_parse_virtuallist_control( LDAP *ld, LDAPControl **ctrls, unsigned long *target_posp, unsigned long *list_sizep, int *errcodep ) argument
|
H A D | control.c | 29 * Append a list of LDAPv3 controls to ber. If ctrls is NULL, use default 35 nsldapi_put_controls( LDAP *ld, LDAPControl **ctrls, int closeseq, argument 45 if ( ctrls == NULL ) { 46 ctrls = ld->ld_servercontrols; 50 if ( ctrls == NULL || ctrls[ 0 ] == NULL ) { 60 for ( i = 0; ctrls != NULL && ctrls[i] != NULL; i++ ) { 61 if ( ctrls[i]->ldctl_iscritical ) { 76 for ( i = 0; ctrls[ [all...] |
/osnet-11/usr/src/cmd/ldap/common/ |
H A D | ldaptest.c | 278 LDAPControl *ctrls[2]; local 295 ctrls[0] = &aCtrl; 296 ctrls[1] = NULL; 944 ldap_set_option(ld, LDAP_OPT_SERVER_CONTROLS, ctrls); 954 ldap_set_option(ld, LDAP_OPT_SERVER_CONTROLS, ctrls); 962 ldap_set_option(ld, LDAP_OPT_SERVER_CONTROLS, ctrls);
|
H A D | common.c | 1610 LDAPControl **ctrls; local 1613 &ctrls, 0 )) != LDAP_SUCCESS ) { 1620 if ( NULL != ctrls ) { 1624 for ( i = 0; NULL != ctrls[i]; ++i ) { 1625 if ( 0 == strcmp( ctrls[i]->ldctl_oid, 1627 s = ctrls[i]->ldctl_value.bv_val; 1636 if ( 0 == strcmp( ctrls[i]->ldctl_oid, 1641 pw_secs = atoi(ctrls[i]->ldctl_value.bv_val); 1671 ldap_controls_free( ctrls );
|
/osnet-11/usr/src/lib/libnisdb/ |
H A D | ldap_op.c | 1355 LDAPControl *ctrls[3], *sortCtrl = 0, *vlvCtrl = 0; local 1368 ctrls[0] = ctrls[1] = ctrls[2] = 0; 1447 ctrls[0] = ctrls[1] = 0; 1479 ctrls[0] = sortCtrl; 1480 ctrls[1] = vlvCtrl; 1481 ctrls[2] = 0; 1484 ls->attrsonly, ctrls, [all...] |
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_reads.c | 94 _freeControlList(LDAPControl ***ctrls) argument 98 if (ctrls == NULL || *ctrls == NULL) 101 for (ctrl = *ctrls; *ctrl != NULL; ctrl++) 103 free(*ctrls); 104 *ctrls = NULL; 2449 LDAPControl **ctrls; local 2519 ctrls = (LDAPControl **)calloc(3, sizeof (LDAPControl *)); 2520 if (ctrls == NULL) { 2526 ctrls[ 2536 LDAPControl **ctrls; local [all...] |
Completed in 38 milliseconds