summaryrefslogtreecommitdiff
path: root/librpc/ndr/libndr.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-16 23:57:32 -0700
committerAndrew Tridgell <tridge@samba.org>2009-09-16 23:59:53 -0700
commit9407ab573e492c8ab01c2694d3e6f31924bbb0f8 (patch)
treed388c12ed31c2eec373cc76029455835131b3def /librpc/ndr/libndr.h
parent99c3fc19587431efda1ae6161453d84673b32071 (diff)
downloadsamba-9407ab573e492c8ab01c2694d3e6f31924bbb0f8.tar.gz
samba-9407ab573e492c8ab01c2694d3e6f31924bbb0f8.tar.bz2
samba-9407ab573e492c8ab01c2694d3e6f31924bbb0f8.zip
ndr: added --ndr64 flag to ndrdump
This only does pull, but it is useful for w2k8-r2 <-> w2k8-r2 ndrdump usage, which is always 64bit.
Diffstat (limited to 'librpc/ndr/libndr.h')
-rw-r--r--librpc/ndr/libndr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/librpc/ndr/libndr.h b/librpc/ndr/libndr.h
index d01b68ef51..1868af6104 100644
--- a/librpc/ndr/libndr.h
+++ b/librpc/ndr/libndr.h
@@ -141,6 +141,8 @@ struct ndr_print {
/* used to check if alignment padding is zero */
#define LIBNDR_FLAG_PAD_CHECK (1<<28)
+#define LIBNDR_FLAG_NDR64 (1<<29)
+
/* set if an object uuid will be present */
#define LIBNDR_FLAG_OBJECT_PRESENT (1<<30)
@@ -465,6 +467,7 @@ NDR_SCALAR_PROTO(int8, int8_t)
NDR_SCALAR_PROTO(uint16, uint16_t)
NDR_SCALAR_PROTO(int16, int16_t)
NDR_SCALAR_PROTO(uint32, uint32_t)
+NDR_SCALAR_PROTO(uint3264, uint32_t)
NDR_SCALAR_PROTO(int32, int32_t)
NDR_SCALAR_PROTO(udlong, uint64_t)
NDR_SCALAR_PROTO(udlongr, uint64_t)