From eae9b12ca56837a2a39c1ebad21eee7e502b579b Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Sat, 30 Oct 1999 20:32:40 +0000 Subject: general, drastic improvements to rpcclient. added samgroup command added samgroupmem command added proper registry key completion added sam command user-completion (e.g samuser [tab]) added sam command group-completion (e.g samgroup [tab]) (This used to be commit bc5d021916a2f070c62011870a80b3b2707aff3b) --- source3/client/client.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/client') diff --git a/source3/client/client.c b/source3/client/client.c index 8264476947..8d1e73c5c2 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -1586,7 +1586,7 @@ static pstring result; /* Iterator function for do_list() */ -void complete_process_file(file_info *f) +static void complete_process_file(file_info *f) { /* Do we have a partial match? */ @@ -1607,7 +1607,7 @@ void complete_process_file(file_info *f) /* Complete a remote file */ -char *complete_remote_file(char *text, int state) +static char *complete_remote_file(char *text, int state) { int attribute = aDIR | aSYSTEM | aHIDDEN; pstring mask; @@ -1638,7 +1638,7 @@ char *complete_remote_file(char *text, int state) /* Complete a smbclient command */ -char *complete_cmd(char *text, int state) +static char *complete_cmd(char *text, int state) { static int cmd_index; char *name; @@ -1667,7 +1667,7 @@ char *complete_cmd(char *text, int state) filename_completion_function() builtin to GNU readline for local files. */ -char **completion_fn(char *text, int start, int end) +static char **completion_fn(char *text, int start, int end) { int i, num_words, cmd_index; char lastch = ' '; @@ -1734,7 +1734,7 @@ char **completion_fn(char *text, int start, int end) completions are found, we assign this stub completion function to the rl_completion_entry_function variable. */ -char *complete_cmd_null(char *text, int state) +static char *complete_cmd_null(char *text, int state) { return NULL; } -- cgit