summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-02-22 08:04:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:10:51 -0500
commit4926b8f5c0a180caf4f965cf927cb270f263401f (patch)
treee602add33518c5831832a34735281eaa0e6f3d64 /source4/librpc
parent2787b5af416787ba0fcda02c1dbe7610b1f1623b (diff)
downloadsamba-4926b8f5c0a180caf4f965cf927cb270f263401f.tar.gz
samba-4926b8f5c0a180caf4f965cf927cb270f263401f.tar.bz2
samba-4926b8f5c0a180caf4f965cf927cb270f263401f.zip
r5498: fix OpenPrinter() idl and torture test
metze (This used to be commit fd7950abe62e91108157619ace8e96e99110b668)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/spoolss.idl26
1 files changed, 13 insertions, 13 deletions
diff --git a/source4/librpc/idl/spoolss.idl b/source4/librpc/idl/spoolss.idl
index 0ac941190b..9a9495b046 100644
--- a/source4/librpc/idl/spoolss.idl
+++ b/source4/librpc/idl/spoolss.idl
@@ -187,12 +187,21 @@
/******************/
/* Function: 0x01 */
+ typedef struct {
+ uint32 foo;
+ } spoolss_Devmode;
+
+ typedef struct {
+ uint32 size;
+ spoolss_Devmode *devmode;
+ } spoolss_DevmodeContainer;
+
WERROR spoolss_OpenPrinter(
- [in] unistr *server,
- [in] unistr *printer,
- [in] DATA_BLOB *buffer,
+ [in] unistr *printername,
+ [in] unistr *datatype,
+ [in] spoolss_DevmodeContainer devmode_ctr,
[in] uint32 access_mask,
- [out,ref] policy_handle *handle
+ [out,ref] policy_handle *handle
);
/******************/
@@ -736,15 +745,6 @@
);
typedef struct {
- uint32 foo;
- } spoolss_Devmode;
-
- typedef struct {
- uint32 size;
- spoolss_Devmode *devmode;
- } spoolss_DevmodeContainer;
-
- typedef struct {
uint32 size;
unistr *client;
unistr *user;