diff options
author | Günther Deschner <gd@samba.org> | 2009-03-16 23:10:35 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-03-17 12:19:03 +0100 |
commit | 338c61060b0af1a959cfd77e4d015853a7f09bfb (patch) | |
tree | 04f3623382afe8f2d94c2b6e3b3fc938d1337d23 /source3/rpc_parse | |
parent | 63d78712bc11df175bc8cb3b53f1e413211d7248 (diff) | |
download | samba-338c61060b0af1a959cfd77e4d015853a7f09bfb.tar.gz samba-338c61060b0af1a959cfd77e4d015853a7f09bfb.tar.bz2 samba-338c61060b0af1a959cfd77e4d015853a7f09bfb.zip |
s3-spoolss: remove old spoolss_EnumPrinterKey.
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 c43d08af4c..ae73c35c0a 100644 --- a/source3/rpc_parse/parse_spoolss.c +++ b/source3/rpc_parse/parse_spoolss.c @@ -328,59 +328,6 @@ bool make_spoolss_q_enumprinterdataex(SPOOL_Q_ENUMPRINTERDATAEX *q_u, * read a structure. ********************************************************************/ -bool spoolss_io_q_enumprinterkey(const char *desc, SPOOL_Q_ENUMPRINTERKEY *q_u, prs_struct *ps, int depth) -{ - prs_debug(ps, depth, desc, "spoolss_io_q_enumprinterkey"); - depth++; - - if(!prs_align(ps)) - return False; - if(!smb_io_pol_hnd("printer handle", &q_u->handle, ps, depth)) - return False; - - if(!smb_io_unistr2("", &q_u->key, True, ps, depth)) - return False; - - if(!prs_align(ps)) - return False; - - if(!prs_uint32("size", ps, depth, &q_u->size)) - return False; - - return True; -} - -/******************************************************************* - * write a structure. - ********************************************************************/ - -bool spoolss_io_r_enumprinterkey(const char *desc, SPOOL_R_ENUMPRINTERKEY *r_u, prs_struct *ps, int depth) -{ - prs_debug(ps, depth, desc, "spoolss_io_r_enumprinterkey"); - depth++; - - if(!prs_align(ps)) - return False; - - if (!smb_io_buffer5("", &r_u->keys, ps, depth)) - 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; -} - -/******************************************************************* - * read a structure. - ********************************************************************/ - bool spoolss_io_q_enumprinterdataex(const char *desc, SPOOL_Q_ENUMPRINTERDATAEX *q_u, prs_struct *ps, int depth) { prs_debug(ps, depth, desc, "spoolss_io_q_enumprinterdataex"); |