1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

14 Commits

Author SHA1 Message Date
Michael Adam
14d82708d4 registry: rename init_registry() to registry_init_full() for consistency.
Michael
2008-04-13 15:33:48 +02:00
Michael Adam
0b196095db registry: change init_registry() to return WERROR instead of bool.
Michael
2008-04-13 15:33:48 +02:00
Michael Adam
5da52b95ac registry: refactor common part of registry initialization out.
into a new function registry_init_common().

Michael
2008-04-13 15:33:48 +02:00
Michael Adam
e65a999989 registry: change reghook_cache_add() to return WERROR instead of bool
Michael
2008-04-13 15:33:48 +02:00
Michael Adam
2f4ca62dce registry: change reghook_cache_init() to return WERROR and use it in the callers.
Michael
2008-04-13 15:33:47 +02:00
Michael Adam
e0718f04a7 registry: change init_registry_key() and init_registry_data() to return WERR
Michael
2008-04-13 15:33:47 +02:00
Michael Adam
4fd9b45ffc registry: unify debug output in the registry init functions.
Michael
2008-04-13 15:33:47 +02:00
Michael Adam
c312852abc registry: change regdb_init() to return WERROR instead of bool.
Michael
2008-04-13 15:33:47 +02:00
Michael Adam
2f9ee2f782 registry: remove the REGISTRY_HOOKS layer from the reghook cache.
There is no need to save the keyname again, we only need to
get the REGISTRY_OPS out of the pathtree.

Furthermore, this makes life easier, since we can now pass
in keynames as temporarily allocated strings.

Michael
2008-04-13 01:43:42 +02:00
Michael Adam
f33095e44b registry: some whitespace cleanup in init_registry().
Michael
2008-03-22 01:53:44 +01:00
Michael Adam
81993db828 registry: remove unneeded talloc stackframe variable.
Michael
2008-03-22 01:52:03 +01:00
Michael Adam
73b325fe7a registry: close regdb in error path (and use it) in init_registry().
Michael
2008-03-22 01:49:21 +01:00
Michael Adam
59fdd30c78 registry: separate initialization of registry data from regdb_init().
Leave this to the users (currently registry_init_smbconf() and
init_registry()) to initialize as much of preliminary registry data
as needed.

Michael
2008-03-20 15:01:52 +01:00
Michael Adam
4952417fca Extend/fix comments.
Michael
2008-01-21 08:49:12 +01:00