summaryrefslogtreecommitdiff
path: root/librpc/gen_ndr/cli_spoolss.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-18 01:08:38 +0100
committerGünther Deschner <gd@samba.org>2009-03-18 01:19:37 +0100
commitb1d4523f73afd83e0170bac653814b59c4d68b6e (patch)
treefb87efa0d270ebd4f4b8b72b7ca807644674fd91 /librpc/gen_ndr/cli_spoolss.c
parent19ea2a54865f953663e30b7561b47f0a18e79faf (diff)
downloadsamba-b1d4523f73afd83e0170bac653814b59c4d68b6e.tar.gz
samba-b1d4523f73afd83e0170bac653814b59c4d68b6e.tar.bz2
samba-b1d4523f73afd83e0170bac653814b59c4d68b6e.zip
s3: re-run make samba3-idl.
Guenther
Diffstat (limited to 'librpc/gen_ndr/cli_spoolss.c')
-rw-r--r--librpc/gen_ndr/cli_spoolss.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/librpc/gen_ndr/cli_spoolss.c b/librpc/gen_ndr/cli_spoolss.c
index a774d21f17..1e94a2a63c 100644
--- a/librpc/gen_ndr/cli_spoolss.c
+++ b/librpc/gen_ndr/cli_spoolss.c
@@ -3758,10 +3758,10 @@ NTSTATUS rpccli_spoolss_EnumPrinterDataEx(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *handle /* [in] [ref] */,
const char *key_name /* [in] [charset(UTF16)] */,
- uint8_t *buffer /* [out] [ref,size_is(offered)] */,
uint32_t offered /* [in] */,
- uint32_t *needed /* [out] [ref] */,
uint32_t *count /* [out] [ref] */,
+ struct spoolss_PrinterEnumValues **info /* [out] [ref,size_is(,*count)] */,
+ uint32_t *needed /* [out] [ref] */,
WERROR *werror)
{
struct spoolss_EnumPrinterDataEx r;
@@ -3795,9 +3795,9 @@ NTSTATUS rpccli_spoolss_EnumPrinterDataEx(struct rpc_pipe_client *cli,
}
/* Return variables */
- memcpy(buffer, r.out.buffer, r.in.offered * sizeof(*buffer));
- *needed = *r.out.needed;
*count = *r.out.count;
+ *info = *r.out.info;
+ *needed = *r.out.needed;
/* Return result */
if (werror) {