diff options
author | Günther Deschner <gd@samba.org> | 2009-02-08 23:12:25 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-09 10:43:08 +0100 |
commit | 3c1d2f2a3ae52a2dcdf03cc6814d144a29694a9c (patch) | |
tree | 04e96bfd0b6927d4fc483d2b2fbe3b33166b414f /source3/rpc_server/srv_spoolss.c | |
parent | 9232a5be207dc156c37f45eede0f2de6465e58ee (diff) | |
download | samba-3c1d2f2a3ae52a2dcdf03cc6814d144a29694a9c.tar.gz samba-3c1d2f2a3ae52a2dcdf03cc6814d144a29694a9c.tar.bz2 samba-3c1d2f2a3ae52a2dcdf03cc6814d144a29694a9c.zip |
s3-spoolss: use pidl for _spoolss_GetForm.
Guenther
Diffstat (limited to 'source3/rpc_server/srv_spoolss.c')
-rw-r--r-- | source3/rpc_server/srv_spoolss.c | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/source3/rpc_server/srv_spoolss.c b/source3/rpc_server/srv_spoolss.c index d2a7a5149e..8bfe645f1c 100644 --- a/source3/rpc_server/srv_spoolss.c +++ b/source3/rpc_server/srv_spoolss.c @@ -668,27 +668,7 @@ static bool api_spoolss_enumprinterdrivers(pipes_struct *p) static bool api_spoolss_getform(pipes_struct *p) { - SPOOL_Q_GETFORM q_u; - SPOOL_R_GETFORM r_u; - prs_struct *data = &p->in_data.data; - prs_struct *rdata = &p->out_data.rdata; - - ZERO_STRUCT(q_u); - ZERO_STRUCT(r_u); - - if (!spoolss_io_q_getform("", &q_u, data, 0)) { - DEBUG(0,("spoolss_io_q_getform: unable to unmarshall SPOOL_Q_GETFORM.\n")); - return False; - } - - r_u.status = _spoolss_getform(p, &q_u, &r_u); - - if (!spoolss_io_r_getform("",&r_u,rdata,0)) { - DEBUG(0,("spoolss_io_r_getform: unable to marshall SPOOL_R_GETFORM.\n")); - return False; - } - - return True; + return proxy_spoolss_call(p, NDR_SPOOLSS_GETFORM); } /**************************************************************************** |