From 67950c27e473ebf8f7f81ef0ef92d2bd7931622a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 16 Feb 2010 14:23:21 +1100 Subject: s4-dsdb: move dsdb_request_add_controls() into dsdb/common/util.c This will be used to allow the flag based ldb functions to work on both a ldb or a module, thus saving a lot of specialist functions. --- source4/dsdb/samdb/ldb_modules/util.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'source4/dsdb/samdb/ldb_modules/util.h') diff --git a/source4/dsdb/samdb/ldb_modules/util.h b/source4/dsdb/samdb/ldb_modules/util.h index 53ed9bd48e..9ba2e33f56 100644 --- a/source4/dsdb/samdb/ldb_modules/util.h +++ b/source4/dsdb/samdb/ldb_modules/util.h @@ -26,12 +26,10 @@ struct dsdb_attribute; struct dsdb_fsmo_extended_op; #include "dsdb/samdb/ldb_modules/util_proto.h" +#include "dsdb/common/util.h" + +/* extend the dsdb_request_add_controls() flags for module + specific functions */ +#define DSDB_FLAG_OWN_MODULE 0x00400000 +#define DSDB_FLAG_TOP_MODULE 0x00800000 -#define DSDB_SEARCH_SEARCH_ALL_PARTITIONS 0x0001 -#define DSDB_SEARCH_SHOW_DELETED 0x0002 -#define DSDB_SEARCH_SHOW_DN_IN_STORAGE_FORMAT 0x0004 -#define DSDB_SEARCH_REVEAL_INTERNALS 0x0008 -#define DSDB_SEARCH_SHOW_EXTENDED_DN 0x0010 -#define DSDB_MODIFY_RELAX 0x0020 -#define DSDB_FLAG_OWN_MODULE 0x0040 -#define DSDB_FLAG_TOP_MODULE 0x0080 -- cgit