1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

rpcclient regenum key client code rewritten to use higher order functions.

(This used to be commit 6a759c57dc)
This commit is contained in:
Luke Leighton
1999-10-29 20:24:18 +00:00
parent 243feaa08c
commit bcf1c31826
7 changed files with 207 additions and 115 deletions

View File

@ -3126,11 +3126,11 @@ void reg_get_subkey(char *full_keyname, char *key_name, char *subkey_name)
/*****************************************************************
splits out the start of the key (HKLM or HKU) and the rest of the key
*****************************************************************/
BOOL reg_split_key(char *full_keyname, uint32 *reg_type, char *key_name)
BOOL reg_split_key(const char *full_keyname, uint32 *reg_type, char *key_name)
{
pstring tmp;
if (!next_token(&full_keyname, tmp, "\\", sizeof(tmp)))
if (!next_token((char**)(&full_keyname), tmp, "\\", sizeof(tmp)))
{
return False;
}