summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-02-27 00:39:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:06 -0500
commit57d5f19b3f032dfcecde9883651c6df8b18a8b58 (patch)
treeff516943fed75891c2ac4333352ecb6dcb04139e /source4/lib/ldb/include
parente964109e6a9c18c668ef6c1ac534693bb981e18f (diff)
downloadsamba-57d5f19b3f032dfcecde9883651c6df8b18a8b58.tar.gz
samba-57d5f19b3f032dfcecde9883651c6df8b18a8b58.tar.bz2
samba-57d5f19b3f032dfcecde9883651c6df8b18a8b58.zip
r13700: added highestCommittedUSN, uSNChanged and uSNCreated support, using
the @BASEINFO sequenceNumber (simo, I changed the function pointer to a structure element as you preferred) (This used to be commit 68c9ac38c7eed221b44499ee3d74597063dfe7a1)
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r--source4/lib/ldb/include/ldb_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb_private.h b/source4/lib/ldb/include/ldb_private.h
index 24967faeea..3f9be357a7 100644
--- a/source4/lib/ldb/include/ldb_private.h
+++ b/source4/lib/ldb/include/ldb_private.h
@@ -107,6 +107,9 @@ struct ldb_context {
int transaction_active;
int (*async_wait)(struct ldb_async_handle *, enum ldb_async_wait_type);
+
+ /* a backend supplied highestCommittedUSN function */
+ uint64_t (*sequence_number)(struct ldb_context *);
};
/* the modules init function */