diff options
author | Günther Deschner <gd@samba.org> | 2008-11-17 10:56:32 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-07 01:52:29 +0100 |
commit | f5a24b71b930a6906af5f357de5d0be34f1dead2 (patch) | |
tree | 429bfd94027d1d60a6b05f0ab3d0a29b5758cb26 /source3/rpc_server/srv_spoolss.c | |
parent | b56c5bf5105ef3ddb1dd7525476323d2f503e59e (diff) | |
download | samba-f5a24b71b930a6906af5f357de5d0be34f1dead2.tar.gz samba-f5a24b71b930a6906af5f357de5d0be34f1dead2.tar.bz2 samba-f5a24b71b930a6906af5f357de5d0be34f1dead2.zip |
s3-spoolss: use pidl for _spoolss_DeleteForm.
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 0e4e73b27d..4e86e19687 100644 --- a/source3/rpc_server/srv_spoolss.c +++ b/source3/rpc_server/srv_spoolss.c @@ -975,27 +975,7 @@ static bool api_spoolss_addform(pipes_struct *p) static bool api_spoolss_deleteform(pipes_struct *p) { - SPOOL_Q_DELETEFORM q_u; - SPOOL_R_DELETEFORM 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_deleteform("", &q_u, data, 0)) { - DEBUG(0,("spoolss_io_q_deleteform: unable to unmarshall SPOOL_Q_DELETEFORM.\n")); - return False; - } - - r_u.status = _spoolss_deleteform(p, &q_u, &r_u); - - if(!spoolss_io_r_deleteform("", &r_u, rdata, 0)) { - DEBUG(0,("spoolss_io_r_deleteform: unable to marshall SPOOL_R_DELETEFORM.\n")); - return False; - } - - return True; + return proxy_spoolss_call(p, NDR_SPOOLSS_DELETEFORM); } /**************************************************************************** |