diff options
author | Günther Deschner <gd@samba.org> | 2009-07-03 14:08:05 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-07-03 22:05:29 +0200 |
commit | c5415e7e09d40518e20fe12f6f9ad88e4da8369e (patch) | |
tree | 94fcc553ffbd460c7a9a02bb59521afd0465b088 | |
parent | bee0421f4c8017a86d00392c0efe45d2009a71f9 (diff) | |
download | samba-c5415e7e09d40518e20fe12f6f9ad88e4da8369e.tar.gz samba-c5415e7e09d40518e20fe12f6f9ad88e4da8369e.tar.bz2 samba-c5415e7e09d40518e20fe12f6f9ad88e4da8369e.zip |
spoolss: the flags in spoolss_SetPrinterInfo1 are in fact spoolss_PrinterAttributes.
Guenther
-rw-r--r-- | librpc/gen_ndr/ndr_spoolss.c | 6 | ||||
-rw-r--r-- | librpc/idl/spoolss.idl | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/librpc/gen_ndr/ndr_spoolss.c b/librpc/gen_ndr/ndr_spoolss.c index d7d5e354a2..b5df8d33af 100644 --- a/librpc/gen_ndr/ndr_spoolss.c +++ b/librpc/gen_ndr/ndr_spoolss.c @@ -5959,7 +5959,7 @@ static enum ndr_err_code ndr_push_spoolss_SetPrinterInfo1(struct ndr_push *ndr, { if (ndr_flags & NDR_SCALARS) { NDR_CHECK(ndr_push_align(ndr, 4)); - NDR_CHECK(ndr_push_spoolss_EnumPrinterFlags(ndr, NDR_SCALARS, r->flags)); + NDR_CHECK(ndr_push_spoolss_PrinterAttributes(ndr, NDR_SCALARS, r->flags)); NDR_CHECK(ndr_push_unique_ptr(ndr, r->description)); NDR_CHECK(ndr_push_unique_ptr(ndr, r->name)); NDR_CHECK(ndr_push_unique_ptr(ndr, r->comment)); @@ -5997,7 +5997,7 @@ static enum ndr_err_code ndr_pull_spoolss_SetPrinterInfo1(struct ndr_pull *ndr, TALLOC_CTX *_mem_save_comment_0; if (ndr_flags & NDR_SCALARS) { NDR_CHECK(ndr_pull_align(ndr, 4)); - NDR_CHECK(ndr_pull_spoolss_EnumPrinterFlags(ndr, NDR_SCALARS, &r->flags)); + NDR_CHECK(ndr_pull_spoolss_PrinterAttributes(ndr, NDR_SCALARS, &r->flags)); NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_description)); if (_ptr_description) { NDR_PULL_ALLOC(ndr, r->description); @@ -6062,7 +6062,7 @@ _PUBLIC_ void ndr_print_spoolss_SetPrinterInfo1(struct ndr_print *ndr, const cha { ndr_print_struct(ndr, name, "spoolss_SetPrinterInfo1"); ndr->depth++; - ndr_print_spoolss_EnumPrinterFlags(ndr, "flags", r->flags); + ndr_print_spoolss_PrinterAttributes(ndr, "flags", r->flags); ndr_print_ptr(ndr, "description", r->description); ndr->depth++; if (r->description) { diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl index 91a7cf0d04..d4c6e198b8 100644 --- a/librpc/idl/spoolss.idl +++ b/librpc/idl/spoolss.idl @@ -686,7 +686,7 @@ import "misc.idl", "security.idl", "winreg.idl"; } spoolss_SetPrinterInfo0; typedef struct { - spoolss_EnumPrinterFlags flags; + spoolss_PrinterAttributes flags; [string,charset(UTF16)] uint16 *description; [string,charset(UTF16)] uint16 *name; [string,charset(UTF16)] uint16 *comment; |