summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-14 02:22:59 +0100
committerKarolin Seeger <kseeger@samba.org>2009-04-15 09:06:45 +0200
commit1674bf0b246fa37d4e85ac43f48144d32fbce271 (patch)
tree16f71efd2fe8c281489587a8d07918cd66feba60 /source3/rpc_parse
parent3f5ce22d1c001a84676196299a9005fd88c2c47a (diff)
downloadsamba-1674bf0b246fa37d4e85ac43f48144d32fbce271.tar.gz
s3-spoolss: remove old rpccli_spoolss_setprinterdata wrapper.
Guenther (cherry picked from commit 4234969df7fa973ee798bb656883a75d794006d6) (cherry picked from commit dd1b4ee5031af6d3896a02ccf107346a470c9d36)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_spoolss.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c
index a7d69f67efa..e683507c4ac 100644
--- a/source3/rpc_parse/parse_spoolss.c
+++ b/source3/rpc_parse/parse_spoolss.c
@@ -420,21 +420,6 @@ bool make_spoolss_q_enumprinterdataex(SPOOL_Q_ENUMPRINTERDATAEX *q_u,
/*******************************************************************
********************************************************************/
-bool make_spoolss_q_setprinterdata(SPOOL_Q_SETPRINTERDATA *q_u, const POLICY_HND *hnd,
- char* value, uint32 data_type, char* data, uint32 data_size)
-{
- memcpy(&q_u->handle, hnd, sizeof(q_u->handle));
- q_u->type = data_type;
- init_unistr2(&q_u->value, value, UNI_STR_TERMINATE);
-
- q_u->max_len = q_u->real_len = data_size;
- q_u->data = (unsigned char *)data;
-
- return True;
-}
-
-/*******************************************************************
-********************************************************************/
bool spoolss_io_q_setprinterdata(const char *desc, SPOOL_Q_SETPRINTERDATA *q_u, prs_struct *ps, int depth)
{