summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-02-24 23:10:35 +0100
committerMichael Adam <obnox@samba.org>2009-02-26 13:22:52 +0100
commit63ed47c9e4c846d52c7a56b137d5059b1700007a (patch)
tree7b52a8ec326ae66c1fd0928549e1a3435959f33a /source3/registry
parent763f41f39c2b3c3488992297bc1c0e1ab785ad07 (diff)
downloadsamba-63ed47c9e4c846d52c7a56b137d5059b1700007a.tar.gz
samba-63ed47c9e4c846d52c7a56b137d5059b1700007a.tar.bz2
samba-63ed47c9e4c846d52c7a56b137d5059b1700007a.zip
s3:registry: add regsubkey_ctr_set_seqnum to hide implementation from caller.
Michael
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_objects.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/registry/reg_objects.c b/source3/registry/reg_objects.c
index 10ad41e84b..20bc906cfe 100644
--- a/source3/registry/reg_objects.c
+++ b/source3/registry/reg_objects.c
@@ -50,6 +50,17 @@ WERROR regsubkey_ctr_init(TALLOC_CTX *mem_ctx, struct regsubkey_ctr **ctr)
return WERR_OK;
}
+WERROR regsubkey_ctr_set_seqnum(struct regsubkey_ctr *ctr, int seqnum)
+{
+ if (ctr == NULL) {
+ return WERR_INVALID_PARAM;
+ }
+
+ ctr->seqnum = seqnum;
+
+ return WERR_OK;
+}
+
/***********************************************************************
Add a new key to the array
**********************************************************************/