summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-03-06 16:06:12 +0000
committerGerald Carter <jerry@samba.org>2003-03-06 16:06:12 +0000
commit26b1ed7cc05e3bfd9f83bdb664cc6ca0a9883c4a (patch)
tree6803da3c40b1a8932aec7cb1837164eee7904538 /source3/include
parentca0d82b11c0b17e793801ccc5acdc8624c7f3f19 (diff)
downloadsamba-26b1ed7cc05e3bfd9f83bdb664cc6ca0a9883c4a.tar.gz
samba-26b1ed7cc05e3bfd9f83bdb664cc6ca0a9883c4a.tar.bz2
samba-26b1ed7cc05e3bfd9f83bdb664cc6ca0a9883c4a.zip
add #define for the max device name length in a DEVICEMODE
(This used to be commit 21ec2b6ba3ddba6964f6ddb53f8494e4a8b48a83)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/nt_printing.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/nt_printing.h b/source3/include/nt_printing.h
index ca65a40d48..762b1c6917 100644
--- a/source3/include/nt_printing.h
+++ b/source3/include/nt_printing.h
@@ -255,6 +255,8 @@ typedef struct {
NT_PRINTER_KEY *keys;
} NT_PRINTER_DATA;
+#define MAXDEVICENAME 32
+
typedef struct ntdevicemode
{
fstring devicename;