diff options
author | Günther Deschner <gd@samba.org> | 2008-11-15 00:59:00 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-06 21:41:23 +0100 |
commit | 100aad0ddff4e817de99c5d8e0f51ff730d55d58 (patch) | |
tree | ad32deb37657e9015bf8865327fc273515c05368 /source3/rpc_parse | |
parent | 714ac784e183ea50ce9dab440eb4c73320227a0b (diff) | |
download | samba-100aad0ddff4e817de99c5d8e0f51ff730d55d58.tar.gz samba-100aad0ddff4e817de99c5d8e0f51ff730d55d58.tar.bz2 samba-100aad0ddff4e817de99c5d8e0f51ff730d55d58.zip |
s3-spoolss: remove old _spoolss_EndDocPrinter.
Guenther
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_spoolss.c | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c index 91a77e2460..9d2a7ef4de 100644 --- a/source3/rpc_parse/parse_spoolss.c +++ b/source3/rpc_parse/parse_spoolss.c @@ -1627,42 +1627,6 @@ bool spoolss_io_r_startdocprinter(const char *desc, SPOOL_R_STARTDOCPRINTER *r_u /******************************************************************* * read a structure. - * called from spoolss_q_enddocprinter (srv_spoolss.c) - ********************************************************************/ - -bool spoolss_io_q_enddocprinter(const char *desc, SPOOL_Q_ENDDOCPRINTER *q_u, prs_struct *ps, int depth) -{ - if (q_u == NULL) return False; - - prs_debug(ps, depth, desc, "spoolss_io_q_enddocprinter"); - depth++; - - if(!prs_align(ps)) - return False; - - if(!smb_io_pol_hnd("printer handle",&q_u->handle,ps,depth)) - return False; - - return True; -} - -/******************************************************************* - * write a structure. - * called from spoolss_r_enddocprinter (srv_spoolss.c) - ********************************************************************/ - -bool spoolss_io_r_enddocprinter(const char *desc, SPOOL_R_ENDDOCPRINTER *r_u, prs_struct *ps, int depth) -{ - prs_debug(ps, depth, desc, "spoolss_io_r_enddocprinter"); - depth++; - if(!prs_werror("status", ps, depth, &r_u->status)) - return False; - - return True; -} - -/******************************************************************* - * read a structure. * called from spoolss_q_writeprinter (srv_spoolss.c) ********************************************************************/ @@ -7240,18 +7204,6 @@ bool make_spoolss_q_startdocprinter(SPOOL_Q_STARTDOCPRINTER *q_u, * init a structure. ********************************************************************/ -bool make_spoolss_q_enddocprinter(SPOOL_Q_ENDDOCPRINTER *q_u, - POLICY_HND *handle) -{ - memcpy(&q_u->handle, handle, sizeof(POLICY_HND)); - - return True; -} - -/******************************************************************* - * init a structure. - ********************************************************************/ - bool make_spoolss_q_writeprinter(SPOOL_Q_WRITEPRINTER *q_u, POLICY_HND *handle, uint32 data_size, char *data) |