Rev 5350: add function for retrieval of redb seqnum. in http://samba.sernet.de/ma/bzr/SAMBA_3_0-registry.bzr/

Michael Adam ma at sernet.de
Wed Apr 11 15:06:22 GMT 2007


At http://samba.sernet.de/ma/bzr/SAMBA_3_0-registry.bzr/

------------------------------------------------------------
revno: 5350
revision-id: ma at sernet.de-20070411150619-9f3271e9d353c422
parent: ma at sernet.de-20070411144102-b41fdc630c352740
committer: Michael Adam <ma at sernet.de>
branch nick: SAMBA_3_0-registry.bzr
timestamp: Wed 2007-04-11 17:06:19 +0200
message:
  add function for retrieval of redb seqnum.
modified:
  source/registry/reg_db.c       reg_db.c-20060530022627-e9a827257fb89131
=== modified file 'source/registry/reg_db.c'
--- a/source/registry/reg_db.c	2007-04-11 14:41:02 +0000
+++ b/source/registry/reg_db.c	2007-04-11 15:06:19 +0000
@@ -323,6 +323,16 @@
 }
 
 /***********************************************************************
+ return the tdb sequence number of the registry tdb.
+ this is an indicator for the content of the registry
+ having changed. it will change upon regdb_init, too, though.
+ ***********************************************************************/
+int regdb_get_seqnum(void)
+{
+	return tdb_get_seqnum(tdb_reg);
+}
+
+/***********************************************************************
  Add subkey strings to the registry tdb under a defined key
  fmt is the same format as tdb_pack except this function only supports
  fstrings



More information about the samba-cvs mailing list