diff options
author | Luke Leighton <lkcl@samba.org> | 1999-10-30 20:32:40 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-10-30 20:32:40 +0000 |
commit | eae9b12ca56837a2a39c1ebad21eee7e502b579b (patch) | |
tree | a9ebc48e4a0f62d5fab67fc65d663dfea940b5f5 /source3/client | |
parent | 431d0dca732108c817e4f3fecfb4c28641383642 (diff) | |
download | samba-eae9b12ca56837a2a39c1ebad21eee7e502b579b.tar.gz samba-eae9b12ca56837a2a39c1ebad21eee7e502b579b.tar.bz2 samba-eae9b12ca56837a2a39c1ebad21eee7e502b579b.zip |
general, drastic improvements to rpcclient.
added samgroup <groupname> command
added samgroupmem <groupname> 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)
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 10 |
1 files changed, 5 insertions, 5 deletions
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; } |