summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-02-18 15:36:08 +0100
committerStefan Metzmacher <metze@samba.org>2010-02-18 15:47:57 +0100
commit8f52957369bf8ce7591d5d9a1436ccb7e384c612 (patch)
tree30c41b674c6f5c85476220952344b68287d1561d /librpc
parent6d0a39741dacd81e33b25a91fa28cdf983d10d84 (diff)
downloadsamba-8f52957369bf8ce7591d5d9a1436ccb7e384c612.tar.gz
samba-8f52957369bf8ce7591d5d9a1436ccb7e384c612.tar.bz2
samba-8f52957369bf8ce7591d5d9a1436ccb7e384c612.zip
spoolss: make all security descriptors and devicemodes 4 byte aligned and add missing subcontexts.
Guenther
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/spoolss.idl16
1 files changed, 8 insertions, 8 deletions
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl
index 503c77ebce..da890774e7 100644
--- a/librpc/idl/spoolss.idl
+++ b/librpc/idl/spoolss.idl
@@ -473,12 +473,12 @@ import "misc.idl", "security.idl", "winreg.idl";
[relative] nstring *drivername;
[relative] nstring *comment;
[relative] nstring *location;
- [relative,subcontext(0)] spoolss_DeviceMode *devmode;
+ [relative,subcontext(0),flag(NDR_ALIGN4)] spoolss_DeviceMode *devmode;
[relative] nstring *sepfile;
[relative] nstring *printprocessor;
[relative] nstring *datatype;
[relative] nstring *parameters;
- [relative,subcontext(0)] security_descriptor *secdesc;
+ [relative,subcontext(0),flag(NDR_ALIGN4)] security_descriptor *secdesc;
spoolss_PrinterAttributes attributes;
[range(0,99)] uint32 priority;
uint32 defaultpriority;
@@ -490,7 +490,7 @@ import "misc.idl", "security.idl", "winreg.idl";
} spoolss_PrinterInfo2;
typedef [public,gensize] struct {
- [relative,subcontext(0)] security_descriptor *secdesc;
+ [relative,subcontext(0),flag(NDR_ALIGN4)] security_descriptor *secdesc;
} spoolss_PrinterInfo3;
typedef [public,gensize] struct {
@@ -525,7 +525,7 @@ import "misc.idl", "security.idl", "winreg.idl";
} spoolss_PrinterInfo7;
typedef struct {
- [relative,subcontext(0)] spoolss_DeviceMode *devmode;
+ [relative,subcontext(0),flag(NDR_ALIGN4)] spoolss_DeviceMode *devmode;
} spoolss_DeviceModeInfo;
typedef [nodiscriminant,relative_base,public,gensize,flag(NDR_RELATIVE_REVERSE)] union {
@@ -619,9 +619,9 @@ import "misc.idl", "security.idl", "winreg.idl";
[relative] nstring *print_processor;
[relative] nstring *parameters;
[relative] nstring *driver_name;
- [relative] spoolss_DeviceMode *devmode;
+ [relative,subcontext(0),flag(NDR_ALIGN4)] spoolss_DeviceMode *devmode;
[relative] nstring *text_status;
- [relative] security_descriptor *secdesc;
+ [relative,subcontext(0),flag(NDR_ALIGN4)] security_descriptor *secdesc;
spoolss_JobStatus status;
[range(0,99)] uint32 priority;
uint32 position;
@@ -651,9 +651,9 @@ import "misc.idl", "security.idl", "winreg.idl";
[relative] nstring *print_processor;
[relative] nstring *parameters;
[relative] nstring *driver_name;
- [relative] spoolss_DeviceMode *devmode;
+ [relative,subcontext(0),flag(NDR_ALIGN4)] spoolss_DeviceMode *devmode;
[relative] nstring *text_status;
- [relative] security_descriptor *secdesc;
+ [relative,subcontext(0),flag(NDR_ALIGN4)] security_descriptor *secdesc;
spoolss_JobStatus status;
[range(0,99)] uint32 priority;
uint32 position;