diff options
author | Günther Deschner <gd@samba.org> | 2009-02-09 22:12:38 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-09 22:48:07 +0100 |
commit | 43463fcc1eef6b0a674e0e5079341523e2406a5a (patch) | |
tree | f4310fa28300d949367c11ae854c43d8023ac544 /source3/rpc_parse | |
parent | cb1ada9cc0ea3af889d874a2f3092560b0cec928 (diff) | |
download | samba-43463fcc1eef6b0a674e0e5079341523e2406a5a.tar.gz samba-43463fcc1eef6b0a674e0e5079341523e2406a5a.tar.bz2 samba-43463fcc1eef6b0a674e0e5079341523e2406a5a.zip |
s3-spoolss: remove old spoolss_AddJob.
Guenther
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_spoolss.c | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c index d0afb99081..2b61fc8fac 100644 --- a/source3/rpc_parse/parse_spoolss.c +++ b/source3/rpc_parse/parse_spoolss.c @@ -3449,60 +3449,6 @@ bool spoolss_io_q_setprinter(const char *desc, SPOOL_Q_SETPRINTER *q_u, prs_stru /******************************************************************* ********************************************************************/ -bool spoolss_io_r_addjob(const char *desc, SPOOL_R_ADDJOB *r_u, prs_struct *ps, int depth) -{ - prs_debug(ps, depth, desc, ""); - depth++; - - if(!prs_align(ps)) - return False; - - if(!prs_rpcbuffer_p("", ps, depth, &r_u->buffer)) - return False; - - if(!prs_align(ps)) - return False; - - if(!prs_uint32("needed", ps, depth, &r_u->needed)) - return False; - - if(!prs_werror("status", ps, depth, &r_u->status)) - return False; - - return True; -} - -/******************************************************************* -********************************************************************/ - -bool spoolss_io_q_addjob(const char *desc, SPOOL_Q_ADDJOB *q_u, prs_struct *ps, int depth) -{ - prs_debug(ps, depth, desc, ""); - depth++; - - if(!prs_align(ps)) - return False; - - if(!smb_io_pol_hnd("printer handle", &q_u->handle, ps, depth)) - return False; - if(!prs_uint32("level", ps, depth, &q_u->level)) - return False; - - if(!prs_rpcbuffer_p("", ps, depth, &q_u->buffer)) - return False; - - if(!prs_align(ps)) - return False; - - if(!prs_uint32("offered", ps, depth, &q_u->offered)) - return False; - - return True; -} - -/******************************************************************* -********************************************************************/ - bool spoolss_io_r_enumjobs(const char *desc, SPOOL_R_ENUMJOBS *r_u, prs_struct *ps, int depth) { prs_debug(ps, depth, desc, "spoolss_io_r_enumjobs"); |