Lines Matching refs:pctrls
104 static int parse_ldif_control LDAP_P(( struct berval *val, LDAPControl ***pctrls ));
108 LDAPControl **pctrls,
112 LDAPControl **pctrls ));
118 LDAPControl **pctrls ));
411 LDAPControl **pctrls;
424 pctrls = NULL;
499 rc = parse_ldif_control( vals+i, &pctrls );
830 if (pctrls) {
837 while (pctrls[npc]) npc++; /* Count LDIF controls */
839 newctrls = ber_memrealloc(pctrls,
846 pctrls = newctrls;
848 pctrls[i] = ldap_control_dup(defctrls[i-npc]);
849 if (pctrls[i] == NULL) {
854 pctrls[npc+ndefc] = NULL;
863 rc = dodelete( dn, pctrls );
865 rc = dorename( dn, newrdn, newsup, deleteoldrdn, pctrls );
867 rc = domodify( dn, pmods, pctrls, new_entry );
876 if (pctrls != NULL) {
877 ldap_controls_free( pctrls );
908 LDAPControl **pctrls = NULL;
912 if (ppctrls) pctrls = *ppctrls;
988 if (pctrls) {
989 while ( pctrls[i] ) { /* Count the # of controls passed in */
994 pctrls = (LDAPControl **) ber_memrealloc(pctrls,
996 if (pctrls == NULL) {
1000 pctrls[i] = newctrl;
1002 pctrls[i+1] = NULL;
1003 *ppctrls = pctrls;
1023 LDAPControl **pctrls,
1095 rc = ldap_add_ext( ld, dn, pmods, pctrls, NULL, &msgid );
1097 rc = ldap_modify_ext( ld, dn, pmods, pctrls, NULL, &msgid );
1127 LDAPControl **pctrls )
1134 rc = ldap_delete_ext( ld, dn, pctrls, NULL, &msgid );
1161 LDAPControl **pctrls )
1173 pctrls, NULL, &msgid );