summaryrefslogtreecommitdiffstats
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-17 04:29:27 +0100
committerGünther Deschner <gd@samba.org>2009-02-17 10:52:32 +0100
commitdf17774412b8a31880ec26f4a23c45ad1213ffdf (patch)
tree2ecebb5d92aa41f73e33493f5f5694fa5ea0a631 /source3/rpc_parse
parentce71a7c9a753b8f2ec45ba35a5c46c78cacf6739 (diff)
downloadsamba-df17774412b8a31880ec26f4a23c45ad1213ffdf.tar.gz
samba-df17774412b8a31880ec26f4a23c45ad1213ffdf.tar.xz
samba-df17774412b8a31880ec26f4a23c45ad1213ffdf.zip
s3-spoolss: remove old spoolss_ResetPrinter.
Guenther
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_spoolss.c42
1 files changed, 0 insertions, 42 deletions
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
@@ -4832,48 +4832,6 @@ bool spoolss_io_r_setprinterdata(const char *desc, SPOOL_R_SETPRINTERDATA *r_u,
}
/*******************************************************************
-********************************************************************/
-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.
********************************************************************/