Lines Matching defs:op

238     struct mbof_memberuid_op *op;
242 op = NULL;
246 op = &muops[i];
251 if (!op) {
258 op = &muops[num_muops];
263 op->dn = parent;
264 op->el = NULL;
267 if (!op->el) {
268 op->el = talloc_zero(muops, struct ldb_message_element);
269 if (!op->el) {
272 op->el->name = talloc_strdup(op->el, element_name);
273 if (!op->el->name) {
276 op->el->flags = flags;
279 for (i = 0; i < op->el->num_values; i++) {
280 if (strcmp((char *)op->el->values[i].data, name) == 0) {
286 val = talloc_realloc(op->el, op->el->values,
287 struct ldb_val, op->el->num_values + 1);
291 val[op->el->num_values].data = (uint8_t *)talloc_strdup(val, name);
292 if (!val[op->el->num_values].data) {
295 val[op->el->num_values].length = strlen(name);
297 op->el->values = val;
298 op->el->num_values++;
470 if (ldb_dn_is_special(req->op.add.message->dn)) {
473 ldb_dn_get_linearized(req->op.add.message->dn)) == 0) {
482 el = ldb_msg_find_element(req->op.add.message, DB_MEMBEROF);
490 el = ldb_msg_find_element(req->op.add.message, DB_MEMBERUID);
508 add_ctx->msg = ldb_msg_copy(add_ctx, req->op.add.message);
541 if (ldb_dn_compare(valdn, req->op.add.message->dn) == 0) {
1216 * Once the original op returns we proceed fixing parents (parents being each
1331 if (ldb_dn_is_special(req->op.del.dn)) {
1359 first->entry_dn = req->op.del.dn;
1361 dn = ldb_dn_get_linearized(req->op.del.dn);
1425 if (ldb_dn_compare(msg->dn, ctx->req->op.del.dn) == 0) {
1490 ctx->req, ctx->req->op.del.dn, NULL,
2157 /* skip the deleted entry if this is a delete op */
2286 ldb_debug(ldb, LDB_DEBUG_TRACE, "Got an entry on a non search op ?!");
2881 if (ldb_dn_is_special(req->op.mod.message->dn)) {
2887 el = ldb_msg_find_element(req->op.mod.message, DB_MEMBEROF);
2895 el = ldb_msg_find_element(req->op.mod.message, DB_MEMBERUID);
2914 mod_ctx->msg = ldb_msg_copy(mod_ctx, req->op.mod.message);
3417 /* the replacement function resulted in a null op,
3662 /* Build the memberuid add op */
4531 ldb_debug(ldb, LDB_DEBUG_TRACE, "Got an entry on a non search op ?!");