Lines Matching refs:added
308 * attribute that can be added to any member contains just one object DN.
313 * (the object we just added again).
336 * If an object being added contains a "ghost" attribute, the ghost attribute
341 * plugin - in contrast, the ghost attribute is added to the entry that "owns"
3432 struct mbof_dn_array *added = NULL;
3443 ret = mbof_fill_dn_array(mem_ctx, ldb, membel, &added);
3479 added = NULL;
3482 ret = mbof_fill_dn_array(mem_ctx, ldb, el, &added);
3490 if (removed && removed->num && added && added->num) {
3491 for (i = 0; i < added->num; i++) {
3493 if (ldb_dn_compare(added->dns[i], removed->dns[j]) == 0) {
3498 /* preexisting one, not removed, nor added */
3503 for (j = i; j+1 < added->num; j++) {
3504 added->dns[j] = added->dns[j+1];
3506 added->num--;
3517 *_added = added;
3531 struct mbof_val_array *added = NULL;
3547 ret = mbof_fill_vals_array_el(mem_ctx, ghel, &added);
3582 ret = mbof_fill_vals_array_el(mem_ctx, el, &added);
3590 ret = mbof_fill_vals_array_el(mem_ctx, inherited, &added);
3592 talloc_free(added);
3599 if (removed && removed->num && added && added->num) {
3600 for (i = 0; i < added->num; i++) {
3602 if (strcmp((const char *) added->vals[i].data,
3608 /* preexisting one, not removed, nor added */
3613 for (j = i; j+1 < added->num; j++) {
3614 added->vals[j] = added->vals[j+1];
3616 added->num--;
3627 *_added = added;