diff options
author | Michael Adam <obnox@samba.org> | 2009-07-15 12:47:12 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-07-15 14:01:57 +0200 |
commit | 92df5e4a0243bde6fbc5261bf6758090c4c35eee (patch) | |
tree | 31aa5267f1e7c1b2cfa11e813e2ce9ce861e6dea /source3/include | |
parent | dc0bcfa188cb24c5a34f592ece946682d5fb8afe (diff) | |
download | samba-92df5e4a0243bde6fbc5261bf6758090c4c35eee.tar.gz samba-92df5e4a0243bde6fbc5261bf6758090c4c35eee.tar.bz2 samba-92df5e4a0243bde6fbc5261bf6758090c4c35eee.zip |
s3:registry: add function regsubkey_ctr_reinit()
This reinitializes an already allocated regsubkey_ctr structure,
emptying out the subkey array and hash table.
Michael
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 56bffd5ce7..7bbdc04ae7 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -5097,6 +5097,7 @@ WERROR registry_init_smbconf(const char *keyname); /* The following definitions come from registry/reg_objects.c */ WERROR regsubkey_ctr_init(TALLOC_CTX *mem_ctx, struct regsubkey_ctr **ctr); +WERROR regsubkey_ctr_reinit(struct regsubkey_ctr *ctr); WERROR regsubkey_ctr_set_seqnum(struct regsubkey_ctr *ctr, int seqnum); int regsubkey_ctr_get_seqnum(struct regsubkey_ctr *ctr); WERROR regsubkey_ctr_addkey( struct regsubkey_ctr *ctr, const char *keyname ); |