summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-05-05 17:44:22 +0200
committerGünther Deschner <gd@samba.org>2010-05-05 18:08:56 +0200
commitb2ea8fbcce849f2fb41f381ab3d7af35e9778c9f (patch)
tree625f97f6e037b2840ac5255ddba722d8c13a65c5 /source3/include
parent5a56bc948ecf740591e898cdb45f0f0c2b0a4c84 (diff)
downloadsamba-b2ea8fbcce849f2fb41f381ab3d7af35e9778c9f.tar.gz
samba-b2ea8fbcce849f2fb41f381ab3d7af35e9778c9f.tar.bz2
samba-b2ea8fbcce849f2fb41f381ab3d7af35e9778c9f.zip
s3-spoolss: Added a function to create a default spoolss_DeviceMode.
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h3
1 files changed, 3 insertions, 0 deletions
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 );