summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-09-03 03:21:53 +0000
committerTim Potter <tpot@samba.org>2002-09-03 03:21:53 +0000
commit386a41695001ff56c7ef1f6f25d94555fb58aed0 (patch)
tree6e000d04491e3dff05cd744176f6cc3fdb47315d /source3
parentf02b14f7c61496950178e4c8a41d9c68c983d51d (diff)
downloadsamba-386a41695001ff56c7ef1f6f25d94555fb58aed0.tar.gz
samba-386a41695001ff56c7ef1f6f25d94555fb58aed0.tar.bz2
samba-386a41695001ff56c7ef1f6f25d94555fb58aed0.zip
Implemented client function for deleteprinterdataex.
(This used to be commit 6d792c683df3a4f97e1a04a57bf4890aab35aecd)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_parse/parse_spoolss.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c
index db3ea5046a..29902d395e 100644
--- a/source3/rpc_parse/parse_spoolss.c
+++ b/source3/rpc_parse/parse_spoolss.c
@@ -7610,6 +7610,21 @@ BOOL make_spoolss_q_deleteprinterdata(SPOOL_Q_DELETEPRINTERDATA *q_u,
* init a structure.
********************************************************************/
+BOOL make_spoolss_q_deleteprinterdataex(SPOOL_Q_DELETEPRINTERDATAEX *q_u,
+ POLICY_HND *handle, char *key,
+ char *value)
+{
+ memcpy(&q_u->handle, handle, sizeof(POLICY_HND));
+ init_unistr2(&q_u->valuename, value, strlen(value) + 1);
+ init_unistr2(&q_u->keyname, key, strlen(key) + 1);
+
+ return True;
+}
+
+/*******************************************************************
+ * init a structure.
+ ********************************************************************/
+
BOOL make_spoolss_q_rffpcnex(SPOOL_Q_RFFPCNEX *q_u, POLICY_HND *handle,
uint32 flags, uint32 options, char *localmachine,
uint32 printerlocal, SPOOL_NOTIFY_OPTION *option)