summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/libndr.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-30 23:19:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:05 -0500
commit74dd7d90622a518e54bbbdc4e37fa44cd4181e1e (patch)
tree5d697a9cf92ed6a5d13ca87e2ca4bd566ffc7f6f /source4/librpc/ndr/libndr.h
parentcf97155ab40ce39e913056f4ff1d74c65831d7d2 (diff)
downloadsamba-74dd7d90622a518e54bbbdc4e37fa44cd4181e1e.tar.gz
samba-74dd7d90622a518e54bbbdc4e37fa44cd4181e1e.tar.bz2
samba-74dd7d90622a518e54bbbdc4e37fa44cd4181e1e.zip
r3395: added support for "string32" type, to fix the fixed width string
problem that tim found. (This used to be commit 2cf35cb4d2513a7be46065e12c6fd1e2b90f4b8a)
Diffstat (limited to 'source4/librpc/ndr/libndr.h')
-rw-r--r--source4/librpc/ndr/libndr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/librpc/ndr/libndr.h b/source4/librpc/ndr/libndr.h
index 306e480c98..0efa4af19c 100644
--- a/source4/librpc/ndr/libndr.h
+++ b/source4/librpc/ndr/libndr.h
@@ -96,7 +96,8 @@ struct ndr_print {
#define LIBNDR_FLAG_STR_NULLTERM (1<<6)
#define LIBNDR_FLAG_STR_SIZE2 (1<<7)
#define LIBNDR_FLAG_STR_BYTESIZE (1<<8)
-#define LIBNDR_STRING_FLAGS (0x1FC)
+#define LIBNDR_FLAG_STR_FIXLEN32 (1<<9)
+#define LIBNDR_STRING_FLAGS (0x3FC)
#define LIBNDR_FLAG_REF_ALLOC (1<<10)
#define LIBNDR_FLAG_REMAINING (1<<11)