summaryrefslogtreecommitdiff
path: root/source3/rpcclient/spoolss_cmds.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2000-07-21 19:59:51 +0000
committerGerald Carter <jerry@samba.org>2000-07-21 19:59:51 +0000
commit92708e3945cf294b3cb8d946200f8a7bf5d1def6 (patch)
treef6e76d30d21139758d6c113ac7c0a3591996b716 /source3/rpcclient/spoolss_cmds.c
parente5c5b2723f85467ce5a4a759bbe63ef59958c4ba (diff)
downloadsamba-92708e3945cf294b3cb8d946200f8a7bf5d1def6.tar.gz
samba-92708e3945cf294b3cb8d946200f8a7bf5d1def6.tar.bz2
samba-92708e3945cf294b3cb8d946200f8a7bf5d1def6.zip
Added EnumPorts() and fixed up some problems
with the other spoolss client calls. Also cleaned up output for 'help' command. jerry (This used to be commit 56ce247977c05ef37888c2572e679c44346e5568)
Diffstat (limited to 'source3/rpcclient/spoolss_cmds.c')
-rw-r--r--source3/rpcclient/spoolss_cmds.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/rpcclient/spoolss_cmds.c b/source3/rpcclient/spoolss_cmds.c
index 1538f560f9..630d2f2aa5 100644
--- a/source3/rpcclient/spoolss_cmds.c
+++ b/source3/rpcclient/spoolss_cmds.c
@@ -31,10 +31,16 @@ static const struct command_set spl_commands[] = {
* printer testing
*/
+ {"SPOOLSS", NULL, NULL, {NULL, NULL}},
+
{"spoolenum", cmd_spoolss_enum_printers,
"Enumerate Printers",
{NULL, NULL}},
+ {"spoolenumports", cmd_spoolss_enum_ports,
+ "Enumerate Ports",
+ {NULL, NULL}},
+
{"spoolenumdatas", cmd_spoolss_enum_printerdata,
"<printer name> Enumerate Printer datas",
{NULL, NULL}},