e37b0b7b5986d2e713d7c3d89cf06d9ff0525ff8
[samba.git] / source4 / dsdb / samdb / ldb_modules / util.h
1 /* 
2    Unix SMB/CIFS implementation.
3    Samba utility functions
4
5    Copyright (C) Andrew Tridgell 2009
6    Copyright (C) Andrew Bartlett <abartlet@samba.org> 2009
7
8    This program is free software; you can redistribute it and/or modify
9    it under the terms of the GNU General Public License as published by
10    the Free Software Foundation; either version 3 of the License, or
11    (at your option) any later version.
12
13    This program is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    GNU General Public License for more details.
17
18    You should have received a copy of the GNU General Public License
19    along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 */
21
22 /* predeclare some structures used by utility functions */
23 struct dsdb_schema;
24 struct dsdb_attribute;
25 struct dsdb_fsmo_extended_op;
26 struct security_descriptor;
27 struct dom_sid;
28
29 #include "librpc/gen_ndr/misc.h"
30 #include "dsdb/samdb/ldb_modules/util_proto.h"
31 #include "dsdb/common/util.h"
32
33 /* extend the dsdb_request_add_controls() flags for module
34    specific functions */
35 #define DSDB_FLAG_NEXT_MODULE                 0x00100000
36 #define DSDB_FLAG_OWN_MODULE                  0x00400000
37 #define DSDB_FLAG_TOP_MODULE                  0x00800000
38