diff options
author | Günther Deschner <gd@samba.org> | 2009-03-17 16:41:16 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-03-17 19:07:30 +0100 |
commit | f19faa0e768f477c26b92f87905cfdb7245dbaa1 (patch) | |
tree | 47665192e66d166398418dabeae0e1ad3df83031 /source3/include | |
parent | 5778a36357f1560b9a8e5828cf789be4357ceb0c (diff) | |
download | samba-f19faa0e768f477c26b92f87905cfdb7245dbaa1.tar.gz samba-f19faa0e768f477c26b92f87905cfdb7245dbaa1.tar.bz2 samba-f19faa0e768f477c26b92f87905cfdb7245dbaa1.zip |
s3-spoolss: remove unused DEVICEMODE parsing and header.
Guenther
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/include/rpc_spoolss.h | 44 |
2 files changed, 0 insertions, 45 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index aa7fea8cb8..ce0372ffba 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -5828,7 +5828,6 @@ bool sec_io_desc_buf(const char *desc, SEC_DESC_BUF **ppsdb, prs_struct *ps, int /* The following definitions come from rpc_parse/parse_spoolss.c */ -bool spoolss_io_devmode(const char *desc, prs_struct *ps, int depth, DEVICEMODE *devmode); uint32 spoolss_size_printer_enum_values(PRINTER_ENUM_VALUES *p); bool make_spoolss_buffer5(TALLOC_CTX *mem_ctx, BUFFER5 *buf5, uint32 len, uint16 *src); bool make_spoolss_q_enumprinterdataex(SPOOL_Q_ENUMPRINTERDATAEX *q_u, diff --git a/source3/include/rpc_spoolss.h b/source3/include/rpc_spoolss.h index 29f505ab59..da8c8f125e 100644 --- a/source3/include/rpc_spoolss.h +++ b/source3/include/rpc_spoolss.h @@ -189,50 +189,6 @@ #define DRIVER_MAX_VERSION 4 -/* - * Devicemode structure - */ - -typedef struct devicemode -{ - UNISTR devicename; - uint16 specversion; - uint16 driverversion; - uint16 size; - uint16 driverextra; - uint32 fields; - uint16 orientation; - uint16 papersize; - uint16 paperlength; - uint16 paperwidth; - uint16 scale; - uint16 copies; - uint16 defaultsource; - uint16 printquality; - uint16 color; - uint16 duplex; - uint16 yresolution; - uint16 ttoption; - uint16 collate; - UNISTR formname; - uint16 logpixels; - uint32 bitsperpel; - uint32 pelswidth; - uint32 pelsheight; - uint32 displayflags; - uint32 displayfrequency; - uint32 icmmethod; - uint32 icmintent; - uint32 mediatype; - uint32 dithertype; - uint32 reserved1; - uint32 reserved2; - uint32 panningwidth; - uint32 panningheight; - uint8 *dev_private; -} -DEVICEMODE; - /********************************************/ typedef struct printer_enum_values |