summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-08-17 12:03:47 +1000
committerAndrew Tridgell <tridge@samba.org>2010-08-17 21:21:50 +1000
commit9e27201b24106babc7ac2400f7f063f438b0ddcd (patch)
treec87f13f19ec6b08c2b6ce46215c24b34b222faf5 /source4/lib/ldb/include
parent6baa834ebe710d73cfd54e465479a2b2de9d2476 (diff)
downloadsamba-9e27201b24106babc7ac2400f7f063f438b0ddcd.tar.gz
samba-9e27201b24106babc7ac2400f7f063f438b0ddcd.tar.bz2
samba-9e27201b24106babc7ac2400f7f063f438b0ddcd.zip
s4-ldb: added LDB_FLAG_INTERNAL_MASK
This ensures that internal bits for the element flags in add/modify requests are not set via the ldb API Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r--source4/lib/ldb/include/ldb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h
index 6625d94dbd..55a6fd1c37 100644
--- a/source4/lib/ldb/include/ldb.h
+++ b/source4/lib/ldb/include/ldb.h
@@ -139,6 +139,11 @@ struct ldb_dn;
#define LDB_FLAG_MOD_DELETE 3
/**
+ flag bits on an element usable only by the internal implementation
+*/
+#define LDB_FLAG_INTERNAL_MASK 0xFFFFFFF0
+
+/**
OID for logic AND comaprison.
This is the well known object ID for a logical AND comparitor.