From df17774412b8a31880ec26f4a23c45ad1213ffdf Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 17 Feb 2009 04:29:27 +0100 Subject: s3-spoolss: remove old spoolss_ResetPrinter. Guenther --- source3/rpc_parse/parse_spoolss.c | 42 --------------------------------------- 1 file changed, 42 deletions(-) (limited to 'source3/rpc_parse') diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c index 3475203ac4..08613bb57f 100644 --- a/source3/rpc_parse/parse_spoolss.c +++ b/source3/rpc_parse/parse_spoolss.c @@ -4831,48 +4831,6 @@ bool spoolss_io_r_setprinterdata(const char *desc, SPOOL_R_SETPRINTERDATA *r_u, return True; } -/******************************************************************* -********************************************************************/ -bool spoolss_io_q_resetprinter(const char *desc, SPOOL_Q_RESETPRINTER *q_u, prs_struct *ps, int depth) -{ - prs_debug(ps, depth, desc, "spoolss_io_q_resetprinter"); - depth++; - - if (!prs_align(ps)) - return False; - if (!smb_io_pol_hnd("printer handle", &q_u->handle, ps, depth)) - return False; - - if (!prs_uint32("datatype_ptr", ps, depth, &q_u->datatype_ptr)) - return False; - - if (q_u->datatype_ptr) { - if (!smb_io_unistr2("datatype", &q_u->datatype, q_u->datatype_ptr?True:False, ps, depth)) - return False; - } - - if (!spoolss_io_devmode_cont(desc, &q_u->devmode_ctr, ps, depth)) - return False; - - return True; -} - - -/******************************************************************* -********************************************************************/ -bool spoolss_io_r_resetprinter(const char *desc, SPOOL_R_RESETPRINTER *r_u, prs_struct *ps, int depth) -{ - prs_debug(ps, depth, desc, "spoolss_io_r_resetprinter"); - depth++; - - if(!prs_align(ps)) - return False; - if(!prs_werror("status", ps, depth, &r_u->status)) - return False; - - return True; -} - /******************************************************************* Parse a SPOOL_R_GETJOB structure. ********************************************************************/ -- cgit