summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_spoolss.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-17 06:27:45 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-17 06:27:45 +0000
commit59df3ce5b5c5b484793a0e16faeb581ef343e167 (patch)
treecceb5d9fc8df01ec7c399ef690e86a34fba34a6b /source4/librpc/ndr/ndr_spoolss.h
parentfa83432e1085d32f1a3f4208b81b6e936ba63b38 (diff)
downloadsamba-59df3ce5b5c5b484793a0e16faeb581ef343e167.tar.gz
samba-59df3ce5b5c5b484793a0e16faeb581ef343e167.tar.bz2
samba-59df3ce5b5c5b484793a0e16faeb581ef343e167.zip
security descriptors are no longer a "special" type, they are handled
using the [relative] property this also fixes level3 of PrinterInfo (a relative secdesc) (This used to be commit d5a15257fdd5f6cfe2706765a7c29f623ec1c6f8)
Diffstat (limited to 'source4/librpc/ndr/ndr_spoolss.h')
-rw-r--r--source4/librpc/ndr/ndr_spoolss.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/source4/librpc/ndr/ndr_spoolss.h b/source4/librpc/ndr/ndr_spoolss.h
index 61aac510d9..3f156b732d 100644
--- a/source4/librpc/ndr/ndr_spoolss.h
+++ b/source4/librpc/ndr/ndr_spoolss.h
@@ -35,6 +35,7 @@ struct spoolss_DeviceMode {
uint32 reserved2;
uint32 panningwidth;
uint32 panningheight;
+ uint8 *private;
};
struct spoolss_PrinterInfo1 {
@@ -70,7 +71,7 @@ struct spoolss_PrinterInfo2 {
struct spoolss_PrinterInfo3 {
uint32 flags;
- struct security_descriptor *secdesc;
+ struct security_descriptor secdesc;
};
struct spoolss_PrinterInfo4 {
@@ -165,13 +166,13 @@ struct spoolss_EnumJobs {
uint32 firstjob;
uint32 numjobs;
uint32 level;
- struct uint8_buf *buffer;
- uint32 offered;
+ DATA_BLOB *buffer;
+ uint32 *buf_size;
} in;
struct {
- struct uint8_buf *buffer;
- uint32 needed;
+ DATA_BLOB *buffer;
+ uint32 *buf_size;
uint32 numjobs;
NTSTATUS result;
} out;
@@ -893,7 +894,8 @@ struct spoolss_EnumPrinterData {
struct policy_handle *handle;
uint32 enum_index;
uint32 value_offered;
- uint32 data_offered;
+ DATA_BLOB *buffer;
+ uint32 *buf_size;
} in;
struct {
@@ -901,8 +903,8 @@ struct spoolss_EnumPrinterData {
const char *value_name;
uint32 value_needed;
uint32 printerdata_type;
- struct uint8_buf printerdata;
- uint32 data_needed;
+ DATA_BLOB *buffer;
+ uint32 *buf_size;
NTSTATUS result;
} out;