summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-08-05 23:30:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:31:23 -0500
commit90a61d99b45345820cf2950bfcbbf71d09bf4be4 (patch)
treea29a9a68e9c35d5b8a9286c8cd1b8545bc4314f2
parent3c1851bdbace574273567a403886464837ae8033 (diff)
downloadsamba-90a61d99b45345820cf2950bfcbbf71d09bf4be4.tar.gz
samba-90a61d99b45345820cf2950bfcbbf71d09bf4be4.tar.bz2
samba-90a61d99b45345820cf2950bfcbbf71d09bf4be4.zip
r9149: add support for string arrays in GetPrinterData
metze (This used to be commit b72062e653b1d87d957f1f10415cdd034cac4bdb)
-rw-r--r--source4/librpc/idl/spoolss.idl4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/librpc/idl/spoolss.idl b/source4/librpc/idl/spoolss.idl
index f0f18088c6..37ffb0bfd2 100644
--- a/source4/librpc/idl/spoolss.idl
+++ b/source4/librpc/idl/spoolss.idl
@@ -748,7 +748,8 @@
SPOOLSS_PRINTER_DATA_TYPE_NULL = 0,
SPOOLSS_PRINTER_DATA_TYPE_STRING = 1,
SPOOLSS_PRINTER_DATA_TYPE_BINARY = 3,
- SPOOLSS_PRINTER_DATA_TYPE_UINT32 = 4
+ SPOOLSS_PRINTER_DATA_TYPE_UINT32 = 4,
+ SPOOLSS_PRINTER_DATA_TYPE_STRING_ARRAY = 7
} spoolss_PrinterDataType;
typedef [nodiscriminant,gensize] union {
@@ -756,6 +757,7 @@
[case(SPOOLSS_PRINTER_DATA_TYPE_STRING)] nstring string;
[case(SPOOLSS_PRINTER_DATA_TYPE_BINARY),flag(NDR_REMAINING)] DATA_BLOB binary;
[case(SPOOLSS_PRINTER_DATA_TYPE_UINT32)] uint32 value;
+ [case(SPOOLSS_PRINTER_DATA_TYPE_STRING_ARRAY)] nstring_array string_array;
[default,flag(NDR_REMAINING)] DATA_BLOB data;
} spoolss_PrinterData;