summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-03-06 16:09:11 +0000
committerGerald Carter <jerry@samba.org>2003-03-06 16:09:11 +0000
commitccb58b303a5f9b37922450fa535c019511895a8a (patch)
tree7c32959576998230990ea1ac07749cd69dd7d327 /source3/include
parentfb9e22d6c8044f72867695591df9792367d765c0 (diff)
downloadsamba-ccb58b303a5f9b37922450fa535c019511895a8a.tar.gz
samba-ccb58b303a5f9b37922450fa535c019511895a8a.tar.bz2
samba-ccb58b303a5f9b37922450fa535c019511895a8a.zip
add #define for the max device name length in a DEVICEMODE
(This used to be commit 52ef84b53495db1eac6ecfb0b926ef8df7ea5cc5)
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;