Age | Commit message (Collapse) | Author | Files | Lines |
|
Greatly simplifies and cleanes up the code.
Guenther
|
|
Guenther
|
|
Michael
|
|
This way, we always return what has really been read from the db,
and not more. The callers assume exactly this, but one could hand
in an already pre-filled subkey container...
Michael
|
|
This way, more error information is propagated to the callers.
Michael
|
|
Michael
|
|
This makes it clearer to me, and it also makes it easier to
use the transaction retry wrapper in the next step.
Michael
|
|
Michael
|
|
Michael
|
|
Michael
|
|
Michael
|
|
Michael
|
|
and catch one potential talloc failure.
Michael
|
|
regdb_store_keys_internal()
Michael
|
|
instead of bool for better error propagation.
Michael
|
|
into regdb_ctr_add_value(). For readability.
Michael
|
|
Michael
|
|
Michael
|
|
argument
Michael
|
|
Michael
|
|
Michael
|
|
Michael
|
|
Michael
|
|
This would try to commit a higher level transaction upon commit-error.
Michael
|
|
This way, the db handle gets used explicitly and the core of the
function can be abstracted.
Michael
|
|
Michael
|
|
Michael
|
|
So that the regdb handle is again explicit and the core of the
function can be abstracted.
Michael
|
|
and let exported regdb_store_keys() just call regdb_store_keys_internal()
with regdb as an argument. Internally, in reg_backend_db.c, always use the
_internal version.
Michael
|
|
Michael
|
|
and let exported regdb_fetch_keys() just call regdb_fetch_keys_internal()
with regdb as an argument. Internally, in reg_backend_db.c, always use the
_internal version.
Michael
|
|
Michael
|
|
Michael
|
|
Michael
|
|
Michael
|
|
Michael
|
|
Michael
|
|
Michael
|
|
Michael
|
|
Michael
|
|
Michael
|
|
This paves the way for hiding the typedef and the implementation
from the surface.
Michael
|
|
Michael
|
|
Micheal
|
|
Michael
|
|
of regdb_store_values().
Michael
|
|
Michael
|
|
Michael
|
|
Michael
|
|
instead of using talloc directly.
Michael
|