diff options
author | Gerald Carter <jerry@samba.org> | 2000-07-21 20:10:52 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2000-07-21 20:10:52 +0000 |
commit | 9f5e9acf778f093dd1ee559f040ee1b2a7f9e5ec (patch) | |
tree | 35f4b8a806ae07d988ddb665a3b5fada7defb084 /source3 | |
parent | 74a9323bad6deb44ad634b6e0c563d9daa0f1c76 (diff) | |
download | samba-9f5e9acf778f093dd1ee559f040ee1b2a7f9e5ec.tar.gz samba-9f5e9acf778f093dd1ee559f040ee1b2a7f9e5ec.tar.bz2 samba-9f5e9acf778f093dd1ee559f040ee1b2a7f9e5ec.zip |
make proto
(This used to be commit e4af400ed6580c04bcaf3a28fe8aeaa0cdbd4dcf)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/proto.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 2b8fc63d53..128079d511 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1906,6 +1906,9 @@ uint32 spoolss_enum_printerdrivers(const char * srv_name, uint32 spoolss_enum_printers(uint32 flags, fstring srv_name, uint32 level, NEW_BUFFER *buffer, uint32 offered, uint32 *needed, uint32 *returned); +uint32 spoolss_enum_ports(fstring srv_name, uint32 level, + NEW_BUFFER *buffer, uint32 offered, + uint32 *needed, uint32 *returned); uint32 spoolss_enum_jobs(const POLICY_HND *hnd, uint32 firstjob, uint32 numofjobs, uint32 level, NEW_BUFFER *buffer, uint32 offered, uint32 *needed, uint32 *returned); @@ -1982,6 +1985,8 @@ BOOL do_wks_query_info(struct cli_state *cli, BOOL msrpc_spoolss_enum_printers(char* srv_name, uint32 flags, uint32 level, PRINTER_INFO_CTR ctr); +BOOL msrpc_spoolss_enum_ports(char* srv_name, + uint32 level, PORT_INFO_CTR *ctr); uint32 msrpc_spoolss_getprinterdata( const char* printer_name, const char* station, const char* user_name, @@ -2706,6 +2711,7 @@ BOOL new_smb_io_printer_info_0(char *desc, NEW_BUFFER *buffer, PRINTER_INFO_0 *i BOOL new_smb_io_printer_info_1(char *desc, NEW_BUFFER *buffer, PRINTER_INFO_1 *info, int depth); BOOL new_smb_io_printer_info_2(char *desc, NEW_BUFFER *buffer, PRINTER_INFO_2 *info, int depth); BOOL new_smb_io_printer_info_3(char *desc, NEW_BUFFER *buffer, PRINTER_INFO_3 *info, int depth); +BOOL new_smb_io_port_info_2(char *desc, NEW_BUFFER *buffer, PORT_INFO_2 *info, int depth); BOOL new_smb_io_printer_driver_info_1(char *desc, NEW_BUFFER *buffer, DRIVER_INFO_1 *info, int depth) ; BOOL new_smb_io_printer_driver_info_2(char *desc, NEW_BUFFER *buffer, DRIVER_INFO_2 *info, int depth) ; BOOL new_smb_io_printer_driver_info_3(char *desc, NEW_BUFFER *buffer, DRIVER_INFO_3 *info, int depth); @@ -2750,6 +2756,9 @@ BOOL spoolss_io_r_getprinterdriver2(char *desc, SPOOL_R_GETPRINTERDRIVER2 *r_u, BOOL make_spoolss_q_enumprinters(SPOOL_Q_ENUMPRINTERS *q_u, uint32 flags, fstring servername, uint32 level, NEW_BUFFER *buffer, uint32 offered); +BOOL make_spoolss_q_enumports(SPOOL_Q_ENUMPORTS *q_u, + fstring servername, uint32 level, + NEW_BUFFER *buffer, uint32 offered); BOOL spoolss_io_q_enumprinters(char *desc, SPOOL_Q_ENUMPRINTERS *q_u, prs_struct *ps, int depth); BOOL new_spoolss_io_r_enumprinters(char *desc, SPOOL_R_ENUMPRINTERS *r_u, prs_struct *ps, int depth); BOOL spoolss_io_r_getprinter(char *desc, SPOOL_R_GETPRINTER *r_u, prs_struct *ps, int depth); @@ -3170,6 +3179,7 @@ BOOL api_wkssvc_rpc(pipes_struct *p); /*The following definitions come from rpcclient/cmd_spoolss.c */ uint32 cmd_spoolss_enum_printers(struct client_info *info, int argc, char *argv[]); +uint32 cmd_spoolss_enum_ports(struct client_info *info, int argc, char *argv[]); uint32 cmd_spoolss_enum_printerdata(struct client_info *info, int argc, char *argv[]); uint32 cmd_spoolss_getprinter(struct client_info *info, int argc, char *argv[]); uint32 cmd_spoolss_enum_jobs(struct client_info *info, int argc, char *argv[]); @@ -3187,6 +3197,9 @@ void display_sec_desc(FILE *out_hnd, enum action_type action, SEC_DESC *const se void display_printer_info_ctr(FILE *out_hnd, enum action_type action, uint32 level, uint32 count, PRINTER_INFO_CTR ctr); +void display_port_info_ctr(FILE *out_hnd, enum action_type action, uint32 level, + uint32 count, PORT_INFO_CTR *ctr); +void display_port_info_2(FILE *out_hnd, enum action_type action, PORT_INFO_2 *i2); void display_printer_enumdata(FILE *out_hnd, enum action_type action, uint32 idx, uint32 valuelen, uint16 *value, uint32 rvaluelen, uint32 type, |