diff options
author | Michael Adam <obnox@samba.org> | 2009-02-24 15:19:18 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-03-27 14:15:41 +0100 |
commit | 85a839665d0649ea6c8e4a3e774e30476cb8df8e (patch) | |
tree | 8d52cdb0f30513dfd8bc28c89a61dd3863d2ffdd /source/utils | |
parent | 2cbd526e4e746c4a505c30b9d01e0fe755cf5fb5 (diff) | |
download | samba-85a839665d0649ea6c8e4a3e774e30476cb8df8e.tar.gz |
s3:registry: replace typedef "REGSUBKEY_CTR" by "struct regsubkey_ctr"
This paves the way for hiding the typedef and the implementation from the
surface.
Michael
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 9ca48a86fb6cf5fa30b622162877859b0c335f7e)
Diffstat (limited to 'source/utils')
-rw-r--r-- | source/utils/net_rpc_registry.c | 6 | ||||
-rw-r--r-- | source/utils/profiles.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/source/utils/net_rpc_registry.c b/source/utils/net_rpc_registry.c index 124af00b57d..72ca31e5641 100644 --- a/source/utils/net_rpc_registry.c +++ b/source/utils/net_rpc_registry.c @@ -971,11 +971,11 @@ static bool write_registry_tree( REGF_FILE *infile, REGF_NK_REC *nk, { REGF_NK_REC *key, *subkey; REGVAL_CTR *values = NULL; - REGSUBKEY_CTR *subkeys = NULL; + struct regsubkey_ctr *subkeys = NULL; int i; char *path = NULL; - if ( !( subkeys = TALLOC_ZERO_P( infile->mem_ctx, REGSUBKEY_CTR )) ) { + if ( !( subkeys = TALLOC_ZERO_P( infile->mem_ctx, struct regsubkey_ctr )) ) { DEBUG(0,("write_registry_tree: talloc() failed!\n")); return false; } @@ -993,7 +993,7 @@ static bool write_registry_tree( REGF_FILE *infile, REGF_NK_REC *nk, (const char *)nk->values[i].data, (nk->values[i].data_size & ~VK_DATA_IN_OFFSET) ); } - /* copy subkeys into the REGSUBKEY_CTR */ + /* copy subkeys into the struct regsubkey_ctr */ while ( (subkey = regfio_fetch_subkey( infile, nk )) ) { regsubkey_ctr_addkey( subkeys, subkey->keyname ); diff --git a/source/utils/profiles.c b/source/utils/profiles.c index bbbaaf089f8..2c9bc36fafa 100644 --- a/source/utils/profiles.c +++ b/source/utils/profiles.c @@ -118,7 +118,7 @@ static bool copy_registry_tree( REGF_FILE *infile, REGF_NK_REC *nk, REGF_NK_REC *key, *subkey; SEC_DESC *new_sd; REGVAL_CTR *values; - REGSUBKEY_CTR *subkeys; + struct regsubkey_ctr *subkeys; int i; char *path; @@ -132,7 +132,7 @@ static bool copy_registry_tree( REGF_FILE *infile, REGF_NK_REC *nk, verbose_output("ACL for %s%s%s\n", parentpath, parent ? "\\" : "", nk->keyname); swap_sid_in_acl( new_sd, &old_sid, &new_sid ); - if ( !(subkeys = TALLOC_ZERO_P( NULL, REGSUBKEY_CTR )) ) { + if ( !(subkeys = TALLOC_ZERO_P( NULL, struct regsubkey_ctr )) ) { DEBUG(0,("copy_registry_tree: talloc() failure!\n")); return False; } @@ -150,7 +150,7 @@ static bool copy_registry_tree( REGF_FILE *infile, REGF_NK_REC *nk, (const char *)nk->values[i].data, (nk->values[i].data_size & ~VK_DATA_IN_OFFSET) ); } - /* copy subkeys into the REGSUBKEY_CTR */ + /* copy subkeys into the struct regsubkey_ctr */ while ( (subkey = regfio_fetch_subkey( infile, nk )) ) { regsubkey_ctr_addkey( subkeys, subkey->keyname ); |