summaryrefslogtreecommitdiff
path: root/source3/lib/tdb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@sernet.de>2007-11-07 23:24:36 +0100
committerStefan Metzmacher <metze@samba.org>2007-11-09 15:14:00 +0100
commit333d83e1eec332e8d135e6538eb519b1ebb755de (patch)
tree4646ce43aa641a9ec5551c660cacb94a88e24e51 /source3/lib/tdb
parent62b97b01561e332d3b566c4f70cc2601e2d7fcac (diff)
downloadsamba-333d83e1eec332e8d135e6538eb519b1ebb755de.tar.gz
samba-333d83e1eec332e8d135e6538eb519b1ebb755de.tar.bz2
samba-333d83e1eec332e8d135e6538eb519b1ebb755de.zip
Add some comments
(This used to be commit fc58f2f45ab93ecea855e1dc07b6fdccce041c8d)
Diffstat (limited to 'source3/lib/tdb')
-rw-r--r--source3/lib/tdb/include/tdb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/tdb/include/tdb.h b/source3/lib/tdb/include/tdb.h
index 7de4c419a8..fce6628b84 100644
--- a/source3/lib/tdb/include/tdb.h
+++ b/source3/lib/tdb/include/tdb.h
@@ -32,9 +32,9 @@ extern "C" {
/* flags to tdb_store() */
-#define TDB_REPLACE 1
-#define TDB_INSERT 2
-#define TDB_MODIFY 3
+#define TDB_REPLACE 1 /* Unused */
+#define TDB_INSERT 2 /* Don't overwrite an existing entry */
+#define TDB_MODIFY 3 /* Don't create an existing entry */
/* flags for tdb_open() */
#define TDB_DEFAULT 0 /* just a readability place holder */