From b2ea8fbcce849f2fb41f381ab3d7af35e9778c9f Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 5 May 2010 17:44:22 +0200 Subject: s3-spoolss: Added a function to create a default spoolss_DeviceMode. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Günther Deschner --- source3/include/proto.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 2c5b7105a1..62e173784b 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4862,6 +4862,9 @@ uint32 del_a_printer(const char *sharename); NT_DEVICEMODE *construct_nt_devicemode(const fstring default_devicename); void free_nt_devicemode(NT_DEVICEMODE **devmode_ptr); int unpack_devicemode(NT_DEVICEMODE **nt_devmode, const uint8 *buf, int buflen); +WERROR spoolss_create_default_devmode(TALLOC_CTX *mem_ctx, + const char *devicename, + struct spoolss_DeviceMode **devmode); int add_new_printer_key( NT_PRINTER_DATA *data, const char *name ); int delete_printer_key( NT_PRINTER_DATA *data, const char *name ); int lookup_printerkey( NT_PRINTER_DATA *data, const char *name ); -- cgit