diff options
author | Günther Deschner <gd@samba.org> | 2008-11-15 00:53:37 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-06 21:40:43 +0100 |
commit | 2a5ae9e47b6b25c59ad7bc891a0fa5c6ebfa320b (patch) | |
tree | 4a126dcb1f6eedb24accedc4926974f015ebe87a /source3/rpc_parse | |
parent | 3fe9b2fb4fc0d3b88d7e668c093feaf934ccbc5b (diff) | |
download | samba-2a5ae9e47b6b25c59ad7bc891a0fa5c6ebfa320b.tar.gz samba-2a5ae9e47b6b25c59ad7bc891a0fa5c6ebfa320b.tar.bz2 samba-2a5ae9e47b6b25c59ad7bc891a0fa5c6ebfa320b.zip |
s3-spoolss: remove old _spoolss_AbortPrinter.
Guenther
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_spoolss.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c index 1dec915708..91a77e2460 100644 --- a/source3/rpc_parse/parse_spoolss.c +++ b/source3/rpc_parse/parse_spoolss.c @@ -1478,43 +1478,6 @@ bool spoolss_io_r_getprinterdata(const char *desc, SPOOL_R_GETPRINTERDATA *r_u, /******************************************************************* * read a structure. - * called from static spoolss_q_abortprinter (srv_spoolss.c) - * called from spoolss_abortprinter (cli_spoolss.c) - ********************************************************************/ - -bool spoolss_io_q_abortprinter(const char *desc, SPOOL_Q_ABORTPRINTER *q_u, prs_struct *ps, int depth) -{ - if (q_u == NULL) return False; - - prs_debug(ps, depth, desc, "spoolss_io_q_abortprinter"); - 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_abortprinter (srv_spoolss.c) - ********************************************************************/ - -bool spoolss_io_r_abortprinter(const char *desc, SPOOL_R_ABORTPRINTER *r_u, prs_struct *ps, int depth) -{ - prs_debug(ps, depth, desc, "spoolss_io_r_abortprinter"); - depth++; - if(!prs_werror("status", ps, depth, &r_u->status)) - return False; - - return True; -} - -/******************************************************************* - * read a structure. * called from api_spoolss_deleteprinterdriver (srv_spoolss.c) * called from spoolss_deleteprinterdriver (cli_spoolss.c) ********************************************************************/ |