summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/ntdomain.h2
-rw-r--r--source3/include/proto.h7
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);