summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/libndr.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-12-31 01:32:33 +0000
committerAndrew Tridgell <tridge@samba.org>2003-12-31 01:32:33 +0000
commit2558f81a8d60435b6618f1c7b408117a765d94ff (patch)
treeb7c6a120257a8abbf635aad01c1bb6bb4dfd3a08 /source4/librpc/ndr/libndr.h
parentf4307200ac338202bc4680cd25fcbac83620ae95 (diff)
downloadsamba-2558f81a8d60435b6618f1c7b408117a765d94ff.tar.gz
samba-2558f81a8d60435b6618f1c7b408117a765d94ff.tar.bz2
samba-2558f81a8d60435b6618f1c7b408117a765d94ff.zip
the endpoint mapper now works in bigendian mode
(This used to be commit 1f89d89954a3501e08efa97d1276ba9bb2d2305f)
Diffstat (limited to 'source4/librpc/ndr/libndr.h')
-rw-r--r--source4/librpc/ndr/libndr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/librpc/ndr/libndr.h b/source4/librpc/ndr/libndr.h
index 8e57d0fb73..97f36b78d0 100644
--- a/source4/librpc/ndr/libndr.h
+++ b/source4/librpc/ndr/libndr.h
@@ -113,6 +113,9 @@ struct ndr_print {
#define LIBNDR_PRINT_ARRAY_HEX (1<<15)
#define LIBNDR_PRINT_SET_VALUES (1<<16)
+/* used to force a section of IDL to be little-endian */
+#define LIBNDR_FLAG_LITTLE_ENDIAN (1<<17)
+
/* useful macro for debugging */
#define NDR_PRINT_DEBUG(type, p) ndr_print_debug((ndr_print_fn_t)ndr_print_ ##type, #p, p)