diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-22 19:02:39 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-22 19:02:39 +0000 |
commit | 9a1efa03c8bb86c9b7e73f102a9d48fb6a57a523 (patch) | |
tree | cb077d099900d57138950f48e52c81ffff2fcfb0 /source/rpcclient/cmd_spoolss.c | |
parent | 1092b4f6fbdf3770c0dab756b982a562def1738e (diff) | |
download | samba-9a1efa03c8bb86c9b7e73f102a9d48fb6a57a523.tar.gz samba-9a1efa03c8bb86c9b7e73f102a9d48fb6a57a523.tar.xz samba-9a1efa03c8bb86c9b7e73f102a9d48fb6a57a523.zip |
okay :) all cmd_() functions now take int argc, char **argv :) that
means that some commands need more work, as they still use next_token(),
the use of which i wish to avoid.
plus, i was getting fed up of the poor command-line processing in some
of these commands. i'm starting to need getopt() in them, especially
in samsetuser.
WARNING: only cmd_samr has been modded to use getopt() so far! reg
commands won't work, esp.
Diffstat (limited to 'source/rpcclient/cmd_spoolss.c')
-rw-r--r-- | source/rpcclient/cmd_spoolss.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/rpcclient/cmd_spoolss.c b/source/rpcclient/cmd_spoolss.c index 9b5aa5b3e07..91a6ff0966d 100644 --- a/source/rpcclient/cmd_spoolss.c +++ b/source/rpcclient/cmd_spoolss.c @@ -78,7 +78,7 @@ static void spool_print_info_ctr(const char* srv_name, uint32 level, /**************************************************************************** nt spoolss query ****************************************************************************/ -void cmd_spoolss_enum_printers(struct client_info *info) +void cmd_spoolss_enum_printers(struct client_info *info, int argc, char *argv[]) { void **ctr = NULL; uint32 num = 0; @@ -105,7 +105,7 @@ void cmd_spoolss_enum_printers(struct client_info *info) /**************************************************************************** nt spoolss query ****************************************************************************/ -void cmd_spoolss_open_printer_ex(struct client_info *info) +void cmd_spoolss_open_printer_ex(struct client_info *info, int argc, char *argv[]) { uint16 nt_pipe_fnum; fstring srv_name; @@ -231,7 +231,7 @@ static void spool_job_info_ctr(const char* srv_name, const char* printer_name, /**************************************************************************** nt spoolss query ****************************************************************************/ -void cmd_spoolss_enum_jobs(struct client_info *info) +void cmd_spoolss_enum_jobs(struct client_info *info, int argc, char *argv[]) { fstring srv_name; fstring printer_name; |