summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-07-07 11:11:10 +0200
committerMichael Adam <obnox@samba.org>2009-07-15 14:01:45 +0200
commiteb1958ca3d6cd30e292d2d013ff1ea63e65563fb (patch)
tree8539f75b62aca3dd350f210c52ba3b2fda17081b /source3/registry
parent589bacfbdb7541be5d339fcaf08272520bf6a1ac (diff)
downloadsamba-eb1958ca3d6cd30e292d2d013ff1ea63e65563fb.tar.gz
samba-eb1958ca3d6cd30e292d2d013ff1ea63e65563fb.tar.bz2
samba-eb1958ca3d6cd30e292d2d013ff1ea63e65563fb.zip
s3:registry: rename regdb_store_keys_internal() to regdb_store_keys_internal2()
Michael
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_backend_db.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index efbd678437..c29bd79525 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -603,9 +603,9 @@ done:
fstrings
***********************************************************************/
-static bool regdb_store_keys_internal(struct db_context *db,
- const char *key,
- struct regsubkey_ctr *ctr)
+static bool regdb_store_keys_internal2(struct db_context *db,
+ const char *key,
+ struct regsubkey_ctr *ctr)
{
TDB_DATA dbuf;
uint8 *buffer = NULL;
@@ -824,7 +824,7 @@ bool regdb_store_keys(const char *key, struct regsubkey_ctr *ctr)
/* (2) store the subkey list for the parent */
- if (!regdb_store_keys_internal(regdb, key, ctr)) {
+ if (!regdb_store_keys_internal2(regdb, key, ctr)) {
DEBUG(0,("regdb_store_keys: Failed to store new subkey list "
"for parent [%s]\n", key));
goto cancel;
@@ -841,7 +841,7 @@ bool regdb_store_keys(const char *key, struct regsubkey_ctr *ctr)
goto cancel;
}
- if (!regdb_store_keys_internal(regdb, key, subkeys)) {
+ if (!regdb_store_keys_internal2(regdb, key, subkeys)) {
DEBUG(0,("regdb_store_keys: Failed to store "
"new record for key [%s]\n", key));
goto cancel;
@@ -865,7 +865,7 @@ bool regdb_store_keys(const char *key, struct regsubkey_ctr *ctr)
if (regdb_fetch_keys_internal(regdb, path, subkeys) == -1) {
/* create a record with 0 subkeys */
- if (!regdb_store_keys_internal(regdb, path, subkeys)) {
+ if (!regdb_store_keys_internal2(regdb, path, subkeys)) {
DEBUG(0,("regdb_store_keys: Failed to store "
"new record for key [%s]\n", path));
goto cancel;
@@ -935,7 +935,7 @@ static WERROR regdb_create_subkey(const char *key, const char *subkey)
werr = regsubkey_ctr_addkey(subkeys, subkey);
W_ERROR_NOT_OK_GOTO(werr, cancel);
- if (!regdb_store_keys_internal(regdb, key, subkeys)) {
+ if (!regdb_store_keys_internal2(regdb, key, subkeys)) {
DEBUG(0, (__location__ " failed to store new subkey list for "
"parent key %s\n", key));
werr = WERR_REG_IO_FAILURE;
@@ -1002,7 +1002,7 @@ static WERROR regdb_delete_subkey(const char *key, const char *subkey)
werr = regsubkey_ctr_delkey(subkeys, subkey);
W_ERROR_NOT_OK_GOTO(werr, cancel);
- if (!regdb_store_keys_internal(regdb, key, subkeys)) {
+ if (!regdb_store_keys_internal2(regdb, key, subkeys)) {
DEBUG(0, (__location__ " failed to store new subkey_list for "
"parent key %s\n", key));
werr = WERR_REG_IO_FAILURE;
@@ -1097,7 +1097,7 @@ done:
* parent_subkey_scanner. The code uses parse_record() to avoid a memcpy of
* the potentially large subkey record.
*
- * The sorted subkey record is deleted in regdb_store_keys_internal and
+ * The sorted subkey record is deleted in regdb_store_keys_internal2 and
* recreated on demand.
*/