s4:resolve_oids LDB module - not really a change but a nicer method to call "talloc_r...
[Samba/nascimento.git] / source4 / dsdb / samdb / ldb_modules / util.h
blob9ba2e33f56f208078f95d2d7264820bb790153dc
1 /*
2 Unix SMB/CIFS implementation.
3 Samba utility functions
5 Copyright (C) Andrew Tridgell 2009
6 Copyright (C) Andrew Bartlett <abartlet@samba.org> 2009
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.
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.
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/>.
22 /* predeclare some structures used by utility functions */
23 struct dsdb_schema;
24 struct GUID;
25 struct dsdb_attribute;
26 struct dsdb_fsmo_extended_op;
28 #include "dsdb/samdb/ldb_modules/util_proto.h"
29 #include "dsdb/common/util.h"
31 /* extend the dsdb_request_add_controls() flags for module
32 specific functions */
33 #define DSDB_FLAG_OWN_MODULE 0x00400000
34 #define DSDB_FLAG_TOP_MODULE 0x00800000