summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-03-17 01:44:26 +0100
committerMichael Adam <obnox@samba.org>2008-03-17 08:22:33 +0100
commitcc2e3f180b1b5cbd9e8a56684a26944c1a273c7f (patch)
tree3eafc21e37accd68dd139b7a288381faae28bfc9 /source3/registry
parent9741e071403145d0c6902e8998b54f1f18be263b (diff)
downloadsamba-cc2e3f180b1b5cbd9e8a56684a26944c1a273c7f.tar.gz
samba-cc2e3f180b1b5cbd9e8a56684a26944c1a273c7f.tar.bz2
samba-cc2e3f180b1b5cbd9e8a56684a26944c1a273c7f.zip
registry: convert regdb REGISTRY_OPS to named struct initializers.
Michael (This used to be commit 3ea0a0beb47bf91b71d949de5abb797177721dcc)
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_backend_db.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index 9b388767ec..1378d00029 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -969,13 +969,12 @@ bool regdb_values_need_update(REGVAL_CTR *values)
*/
REGISTRY_OPS regdb_ops = {
- regdb_fetch_keys,
- regdb_fetch_values,
- regdb_store_keys,
- regdb_store_values,
- NULL,
- regdb_get_secdesc,
- regdb_set_secdesc,
- regdb_subkeys_need_update,
- regdb_values_need_update
+ .fetch_subkeys = regdb_fetch_keys,
+ .fetch_values = regdb_fetch_values,
+ .store_subkeys = regdb_store_keys,
+ .store_values = regdb_store_values,
+ .get_secdesc = regdb_get_secdesc,
+ .set_secdesc = regdb_set_secdesc,
+ .subkeys_need_update = regdb_subkeys_need_update,
+ .values_need_update = regdb_values_need_update
};