diff options
author | Günther Deschner <gd@samba.org> | 2009-02-09 13:35:05 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-09 19:10:37 +0100 |
commit | 3b4bf2f8a9c5150d03ea083e6db7d15035697806 (patch) | |
tree | 219e5184223dc53faca8e6953a380e4f1b7fb3a0 /source3/rpc_parse | |
parent | d2b8fb99eedcfa16e1f68d3ca99df08e4503a598 (diff) | |
download | samba-3b4bf2f8a9c5150d03ea083e6db7d15035697806.tar.gz samba-3b4bf2f8a9c5150d03ea083e6db7d15035697806.tar.bz2 samba-3b4bf2f8a9c5150d03ea083e6db7d15035697806.zip |
s3-spoolss: remove old spoolss_ReplyClosePrinter.
Guenther
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_spoolss.c | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c index fbb001f7dc..5558e2fb71 100644 --- a/source3/rpc_parse/parse_spoolss.c +++ b/source3/rpc_parse/parse_spoolss.c @@ -5643,59 +5643,6 @@ bool spoolss_io_r_routerreplyprinter (const char *desc, SPOOL_R_ROUTERREPLYPRINT return True; } -/******************************************************************* - * init a structure. - ********************************************************************/ - -bool make_spoolss_q_reply_closeprinter(SPOOL_Q_REPLYCLOSEPRINTER *q_u, POLICY_HND *hnd) -{ - if (q_u == NULL) - return False; - - memcpy(&q_u->handle, hnd, sizeof(q_u->handle)); - - return True; -} - -/******************************************************************* - Parse a SPOOL_Q_REPLYCLOSEPRINTER structure. -********************************************************************/ - -bool spoolss_io_q_replycloseprinter(const char *desc, SPOOL_Q_REPLYCLOSEPRINTER *q_u, prs_struct *ps, int depth) -{ - prs_debug(ps, depth, desc, "spoolss_io_q_replycloseprinter"); - depth++; - - if(!prs_align(ps)) - return False; - - if(!smb_io_pol_hnd("printer handle",&q_u->handle,ps,depth)) - return False; - - return True; -} - -/******************************************************************* - Parse a SPOOL_R_REPLYCLOSEPRINTER structure. -********************************************************************/ - -bool spoolss_io_r_replycloseprinter(const char *desc, SPOOL_R_REPLYCLOSEPRINTER *r_u, prs_struct *ps, int depth) -{ - prs_debug(ps, depth, desc, "spoolss_io_r_replycloseprinter"); - depth++; - - if (!prs_align(ps)) - return False; - - if(!smb_io_pol_hnd("printer handle",&r_u->handle,ps,depth)) - return False; - - if (!prs_werror("status", ps, depth, &r_u->status)) - return False; - - return True; -} - #if 0 /* JERRY - not currently used but could be :-) */ /******************************************************************* |