libndr: add LIBNDR_FLAG_RELATIVE_REVERSE flag.
authorGünther Deschner <gd@samba.org>
Mon, 14 Dec 2009 14:09:00 +0000 (15:09 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 18 Feb 2010 12:44:02 +0000 (13:44 +0100)
Guenther

librpc/idl/idl_types.h
librpc/ndr/libndr.h

index 9885ca5bf652f287a8015d6aa3e63d65ba239f20..193a1f612f15c45a29e99345f6982ed1a4785512 100644 (file)
@@ -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
index 57797cdda31eb34c90261582dbe109657c49ec22..39ae25f7e68cb93974d97a028160d965b23cfe53 100644 (file)
@@ -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)