diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-06 21:08:35 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-06 21:08:35 +0000 |
commit | 514be1cf738e913423488b9550522e3991d11360 (patch) | |
tree | 708072e47b3951b62dfc9df7affe1f8ba048caf3 /source3/include | |
parent | 4dbd1c135ca286f59a5f692abd51a0c78f4cb6a0 (diff) | |
download | samba-514be1cf738e913423488b9550522e3991d11360.tar.gz samba-514be1cf738e913423488b9550522e3991d11360.tar.bz2 samba-514be1cf738e913423488b9550522e3991d11360.zip |
added command-completion printer enum code.
(This used to be commit 6947f8fac7d6d643a265fdcb56b2a390b9a9a1c0)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/ntdomain.h | 2 | ||||
-rw-r--r-- | source3/include/proto.h | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h index 789a02e086..5bb0888151 100644 --- a/source3/include/ntdomain.h +++ b/source3/include/ntdomain.h @@ -171,5 +171,7 @@ struct acct_info #define TPRT_INFO_FN(fn) void (*fn)(SRV_TPRT_INFO_CTR *) +#define PRINT_INFO_FN(fn) void (*fn)(const char*, uint32, uint32, void **) + #endif /* _NT_DOMAIN_H */ diff --git a/source3/include/proto.h b/source3/include/proto.h index d56fbf6fa6..65cb7677b2 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2044,7 +2044,7 @@ BOOL samr_query_dispinfo(struct cli_state *cli, uint16 fnum, /*The following definitions come from rpc_client/cli_spoolss.c */ BOOL spoolss_enum_printers(struct cli_state *cli, uint16 fnum, - uint32 flags, char *servername, + uint32 flags, const char *servername, uint32 level, uint32 *count, void ***printers); @@ -3431,6 +3431,11 @@ void cmd_sam_enum_groups(struct client_info *info); /*The following definitions come from rpcclient/cmd_spoolss.c */ +BOOL msrpc_spoolss_enum_printers(struct cli_state *cli, + uint32 level, + uint32 *num, + void ***ctr, + PRINT_INFO_FN(fn)); void cmd_spoolss_enum_printers(struct client_info *info); void cmd_spoolss_open_printer_ex(struct client_info *info); |