summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_spoolss_buf.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-07-01 11:04:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:02 -0500
commit88df3c81ee283819faed2d521e98b1922c03854d (patch)
tree5bbf52cbb8d085ebbbd266068c13830ea21cd27a /source4/librpc/ndr/ndr_spoolss_buf.c
parent96a073fdeab2467e95ec332fd64293e882d16b5f (diff)
downloadsamba-88df3c81ee283819faed2d521e98b1922c03854d.tar.gz
samba-88df3c81ee283819faed2d521e98b1922c03854d.tar.bz2
samba-88df3c81ee283819faed2d521e98b1922c03854d.zip
r8050: - make use of more [value()] properties
- the out subcontext's need to have a fixed size of r->in.offered, to make windows clients happy metze (This used to be commit 054e1ca434b2f81de199eeb41cb6233524fc5779)
Diffstat (limited to 'source4/librpc/ndr/ndr_spoolss_buf.c')
-rw-r--r--source4/librpc/ndr/ndr_spoolss_buf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/librpc/ndr/ndr_spoolss_buf.c b/source4/librpc/ndr/ndr_spoolss_buf.c
index 594c56dda3..d9f9522eda 100644
--- a/source4/librpc/ndr/ndr_spoolss_buf.c
+++ b/source4/librpc/ndr/ndr_spoolss_buf.c
@@ -523,3 +523,9 @@ NTSTATUS ndr_push_spoolss_SetPrinterData(struct ndr_push *ndr, int flags, const
}
return NT_STATUS_OK;
}
+
+uint32_t _ndr_size_spoolss_DeviceMode(struct spoolss_DeviceMode *devmode, uint32_t flags)
+{
+ if (!devmode) return 0;
+ return ndr_size_spoolss_DeviceMode(devmode,flags);
+}