diff options
author | Michael Adam <obnox@samba.org> | 2009-02-24 23:10:35 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-02-26 13:22:52 +0100 |
commit | 63ed47c9e4c846d52c7a56b137d5059b1700007a (patch) | |
tree | 7b52a8ec326ae66c1fd0928549e1a3435959f33a /source3/registry | |
parent | 763f41f39c2b3c3488992297bc1c0e1ab785ad07 (diff) | |
download | samba-63ed47c9e4c846d52c7a56b137d5059b1700007a.tar.gz samba-63ed47c9e4c846d52c7a56b137d5059b1700007a.tar.xz 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.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/registry/reg_objects.c b/source3/registry/reg_objects.c index 10ad41e84b3..20bc906cfe7 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 **********************************************************************/ |