#define bdb_abandon BDB_SYMBOL(abandon)
#define bdb_cancel BDB_SYMBOL(cancel)
#define bdb_do_search BDB_SYMBOL(do_search)
+#define bdb_psearch BDB_SYMBOL(psearch)
BI_op_abandon bdb_abandon;
BI_op_cancel bdb_cancel;
+int bdb_psearch(
+ Operation *op,
+ SlapReply *rs,
+ Operation *ps_op,
+ Entry *entry,
+ int psearch_type
+);
+
int bdb_do_search(
Operation *op,
SlapReply *rs,
Entry *entry,
int psearch_type
);
-#define bdb_psearch(op, rs, sop, e, ps_type) bdb_do_search(op, rs, sop, e, ps_type)
/*
* trans.c
return bdb_do_search( op, rs, op, NULL, 0 );
}
+int bdb_psearch( Operation *op, SlapReply *rs, Operation *sop,
+ Entry *ps_e, int ps_type )
+{
+ sop->o_private = op->o_private;
+ bdb_do_search( op, rs, sop, ps_e, ps_type );
+ sop->o_private = NULL;
+}
+
/* For persistent searches, op is the currently executing operation,
* sop is the persistent search. For regular searches, sop = op.
*/