summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-16 16:25:30 +0100
committerGünther Deschner <gd@samba.org>2009-02-17 16:14:13 +0100
commit055a047e7698d091f6abe2cc350e977aafd121fe (patch)
tree364c831d29a114c14699683140f8c34909695267 /librpc
parentdf17774412b8a31880ec26f4a23c45ad1213ffdf (diff)
downloadsamba-055a047e7698d091f6abe2cc350e977aafd121fe.tar.gz
samba-055a047e7698d091f6abe2cc350e977aafd121fe.tar.bz2
samba-055a047e7698d091f6abe2cc350e977aafd121fe.zip
spoolss: in enum-calls make [out] count a ref pointer.
Guenther
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/spoolss.idl56
1 files changed, 28 insertions, 28 deletions
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl
index f2d18bf0a5..545e1034ef 100644
--- a/librpc/idl/spoolss.idl
+++ b/librpc/idl/spoolss.idl
@@ -340,7 +340,7 @@ import "misc.idl", "security.idl", "winreg.idl";
[in] uint32 offered,
[out,unique] DATA_BLOB *info,
[out,ref] uint32 *needed,
- [out] uint32 count
+ [out,ref] uint32 *count
);
[public,noopnum,noprint] void __spoolss_EnumPrinters(
[in] uint32 level,
@@ -356,9 +356,9 @@ import "misc.idl", "security.idl", "winreg.idl";
/* what we have here is a subcontext containing an array of no discriminant unions
* and the array has no size in front
*/
- [out,unique,switch_is(level),size_is(count)] spoolss_PrinterInfo *info,
- [out,ref] uint32 *needed,
- [out] uint32 count
+ [out,ref] uint32 *count,
+ [out,unique,switch_is(level),size_is(*count)] spoolss_PrinterInfo *info,
+ [out,ref] uint32 *needed
);
/******************/
@@ -446,7 +446,7 @@ import "misc.idl", "security.idl", "winreg.idl";
[in] uint32 offered,
[out,unique] DATA_BLOB *info,
[out,ref] uint32 *needed,
- [out] uint32 count
+ [out,ref] uint32 *count
);
[public,noopnum,noprint] void __spoolss_EnumJobs(
[in] uint32 level,
@@ -460,9 +460,9 @@ import "misc.idl", "security.idl", "winreg.idl";
[in] uint32 level,
[in,unique] DATA_BLOB *buffer,
[in] uint32 offered,
- [out,unique,switch_is(level),size_is(count)] spoolss_JobInfo *info,
- [out,ref] uint32 *needed,
- [out] uint32 count
+ [out,ref] uint32 *count,
+ [out,unique,switch_is(level),size_is(*count)] spoolss_JobInfo *info,
+ [out,ref] uint32 *needed
);
/******************/
@@ -842,7 +842,7 @@ import "misc.idl", "security.idl", "winreg.idl";
[in] uint32 offered,
[out,unique] DATA_BLOB *info,
[out,ref] uint32 *needed,
- [out] uint32 count
+ [out,ref] uint32 *count
);
[public,noopnum,noprint] void __spoolss_EnumPrinterDrivers(
[in] uint32 level,
@@ -855,9 +855,9 @@ import "misc.idl", "security.idl", "winreg.idl";
[in] uint32 level,
[in,unique] DATA_BLOB *buffer,
[in] uint32 offered,
- [out,unique,switch_is(level),size_is(count)] spoolss_DriverInfo *info,
- [out,ref] uint32 *needed,
- [out] uint32 count
+ [out,ref] uint32 *count,
+ [out,unique,switch_is(level),size_is(*count)] spoolss_DriverInfo *info,
+ [out,ref] uint32 *needed
);
/******************/
@@ -925,7 +925,7 @@ import "misc.idl", "security.idl", "winreg.idl";
[in] uint32 offered,
[out,unique] DATA_BLOB *info,
[out,ref] uint32 *needed,
- [out] uint32 count
+ [out,ref] uint32 *count
);
[public,noopnum,noprint] void __spoolss_EnumPrintProcessors(
[in] uint32 level,
@@ -938,9 +938,9 @@ import "misc.idl", "security.idl", "winreg.idl";
[in] uint32 level,
[in,unique] DATA_BLOB *buffer,
[in] uint32 offered,
- [out,unique,switch_is(level),size_is(count)] spoolss_PrintProcessorInfo *info,
- [out,ref] uint32 *needed,
- [out] uint32 count
+ [out,ref] uint32 *count,
+ [out,unique,switch_is(level),size_is(*count)] spoolss_PrintProcessorInfo *info,
+ [out,ref] uint32 *needed
);
/******************/
@@ -1209,7 +1209,7 @@ import "misc.idl", "security.idl", "winreg.idl";
[in] uint32 offered,
[out,unique] DATA_BLOB *info,
[out,ref] uint32 *needed,
- [out] uint32 count
+ [out,ref] uint32 *count
);
[public,noopnum,noprint] void __spoolss_EnumForms(
[in] uint32 level,
@@ -1221,9 +1221,9 @@ import "misc.idl", "security.idl", "winreg.idl";
[in] uint32 level,
[in,unique] DATA_BLOB *buffer,
[in] uint32 offered,
- [out,unique,switch_is(level),size_is(count)] spoolss_FormInfo *info,
- [out,ref] uint32 *needed,
- [out] uint32 count
+ [out,ref] uint32 *count,
+ [out,unique,switch_is(level),size_is(*count)] spoolss_FormInfo *info,
+ [out,ref] uint32 *needed
);
typedef struct {
@@ -1261,7 +1261,7 @@ import "misc.idl", "security.idl", "winreg.idl";
[in] uint32 offered,
[out,unique] DATA_BLOB *info,
[out,ref] uint32 *needed,
- [out] uint32 count
+ [out,ref] uint32 *count
);
[public,noopnum,noprint] void __spoolss_EnumPorts(
[in] uint32 level,
@@ -1273,9 +1273,9 @@ import "misc.idl", "security.idl", "winreg.idl";
[in] uint32 level,
[in,unique] DATA_BLOB *buffer,
[in] uint32 offered,
- [out,unique,switch_is(level),size_is(count)] spoolss_PortInfo *info,
- [out,ref] uint32 *needed,
- [out] uint32 count
+ [out,ref] uint32 *count,
+ [out,unique,switch_is(level),size_is(*count)] spoolss_PortInfo *info,
+ [out,ref] uint32 *needed
);
/******************/
@@ -1303,7 +1303,7 @@ import "misc.idl", "security.idl", "winreg.idl";
[in] uint32 offered,
[out,unique] DATA_BLOB *info,
[out,ref] uint32 *needed,
- [out] uint32 count
+ [out,ref] uint32 *count
);
[public,noopnum,noprint] void __spoolss_EnumMonitors(
[in] uint32 level,
@@ -1315,9 +1315,9 @@ import "misc.idl", "security.idl", "winreg.idl";
[in] uint32 level,
[in,unique] DATA_BLOB *buffer,
[in] uint32 offered,
- [out,unique,switch_is(level),size_is(count)] spoolss_MonitorInfo *info,
- [out,ref] uint32 *needed,
- [out] uint32 count
+ [out,ref] uint32 *count,
+ [out,unique,switch_is(level),size_is(*count)] spoolss_MonitorInfo *info,
+ [out,ref] uint32 *needed
);
/******************/