summaryrefslogtreecommitdiff
path: root/source4/dsdb/common/util.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-10 17:02:10 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-10 23:39:47 +0200
commit33c4b85058f21ab9865bc7cf1b49b7bd38e0275d (patch)
tree2abf2c439f8156893ebb87620b2c14f8c6b88082 /source4/dsdb/common/util.h
parent8f6ca4859c4d377974fa61a3de10d6304b562986 (diff)
downloadsamba-33c4b85058f21ab9865bc7cf1b49b7bd38e0275d.tar.gz
samba-33c4b85058f21ab9865bc7cf1b49b7bd38e0275d.tar.bz2
samba-33c4b85058f21ab9865bc7cf1b49b7bd38e0275d.zip
dsdb: Move attr_in_list to SAMDB_COMMON to avoid circular dependency between SAMDB_COMMON and DSDB_MODULE_HELPERS.
Diffstat (limited to 'source4/dsdb/common/util.h')
-rw-r--r--source4/dsdb/common/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/dsdb/common/util.h b/source4/dsdb/common/util.h
index 7ae46ae887..7dabef8d87 100644
--- a/source4/dsdb/common/util.h
+++ b/source4/dsdb/common/util.h
@@ -34,3 +34,5 @@
#define DSDB_TREE_DELETE 0x0100
#define DSDB_SEARCH_ONE_ONLY 0x0200 /* give an error unless 1 record */
#define DSDB_SEARCH_SHOW_RECYCLED 0x0400
+
+bool is_attr_in_list(const char * const * attrs, const char *attr);