summaryrefslogtreecommitdiff
path: root/source3/rpcclient/display.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-10-29 20:24:18 +0000
committerLuke Leighton <lkcl@samba.org>1999-10-29 20:24:18 +0000
commitbcf1c3182670f20f4705cfe73e27d1e2e9f8eedf (patch)
treed1c0df72425384d1501a7dee97e1def26a86d708 /source3/rpcclient/display.c
parent243feaa08c43cc7dbca155cba5f085697e968c8d (diff)
downloadsamba-bcf1c3182670f20f4705cfe73e27d1e2e9f8eedf.tar.gz
samba-bcf1c3182670f20f4705cfe73e27d1e2e9f8eedf.tar.bz2
samba-bcf1c3182670f20f4705cfe73e27d1e2e9f8eedf.zip
rpcclient regenum key client code rewritten to use higher order functions.
(This used to be commit 6a759c57dcb851aa19d1d4156249a3df112aefd0)
Diffstat (limited to 'source3/rpcclient/display.c')
-rw-r--r--source3/rpcclient/display.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/source3/rpcclient/display.c b/source3/rpcclient/display.c
index db5208b33c..4595cdecc7 100644
--- a/source3/rpcclient/display.c
+++ b/source3/rpcclient/display.c
@@ -1734,7 +1734,8 @@ char *get_reg_val_type_str(uint32 type)
}
-static void print_reg_value(FILE *out_hnd, char *val_name, uint32 val_type, BUFFER2 *value)
+static void print_reg_value(FILE *out_hnd, const char *val_name,
+ uint32 val_type, BUFFER2 *value)
{
fstring type;
fstring valstr;
@@ -1786,7 +1787,8 @@ static void print_reg_value(FILE *out_hnd, char *val_name, uint32 val_type, BUFF
display structure
****************************************************************************/
void display_reg_value_info(FILE *out_hnd, enum action_type action,
- char *val_name, uint32 val_type, BUFFER2 *value)
+ const char *val_name,
+ uint32 val_type, BUFFER2 *value)
{
switch (action)
{
@@ -1810,7 +1812,7 @@ void display_reg_value_info(FILE *out_hnd, enum action_type action,
display structure
****************************************************************************/
void display_reg_key_info(FILE *out_hnd, enum action_type action,
- char *key_name, time_t key_mod_time)
+ const char *key_name, time_t key_mod_time)
{
switch (action)
{