summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-12-14 15:09:00 +0100
committerStefan Metzmacher <metze@samba.org>2010-02-18 13:44:02 +0100
commitee13a51b0514ec3ac4ca9c532c2b101a08ec9784 (patch)
tree4401e2912bae1c46a7db0dfc2c1ebfb922df476e /librpc
parentc9fa97b01774d767acfabaf1eec7a6aad1510440 (diff)
downloadsamba-ee13a51b0514ec3ac4ca9c532c2b101a08ec9784.tar.gz
samba-ee13a51b0514ec3ac4ca9c532c2b101a08ec9784.tar.bz2
samba-ee13a51b0514ec3ac4ca9c532c2b101a08ec9784.zip
libndr: add LIBNDR_FLAG_RELATIVE_REVERSE flag.
Guenther
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/idl_types.h2
-rw-r--r--librpc/ndr/libndr.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/librpc/idl/idl_types.h b/librpc/idl/idl_types.h
index 9885ca5bf6..193a1f612f 100644
--- a/librpc/idl/idl_types.h
+++ b/librpc/idl/idl_types.h
@@ -67,3 +67,5 @@
this is used to control formatting of uint8 arrays
*/
#define NDR_PAHEX LIBNDR_PRINT_ARRAY_HEX
+
+#define NDR_RELATIVE_REVERSE LIBNDR_FLAG_RELATIVE_REVERSE
diff --git a/librpc/ndr/libndr.h b/librpc/ndr/libndr.h
index 57797cdda3..39ae25f7e6 100644
--- a/librpc/ndr/libndr.h
+++ b/librpc/ndr/libndr.h
@@ -124,6 +124,8 @@ struct ndr_print {
#define LIBNDR_FLAG_STR_UTF8 (1<<12)
#define LIBNDR_STRING_FLAGS (0x7FFC)
+/* set if relative pointers are marshalled in reverse order */
+#define LIBNDR_FLAG_RELATIVE_REVERSE (1<<19)
#define LIBNDR_FLAG_REF_ALLOC (1<<20)
#define LIBNDR_FLAG_REMAINING (1<<21)