From ee13a51b0514ec3ac4ca9c532c2b101a08ec9784 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Mon, 14 Dec 2009 15:09:00 +0100 Subject: [PATCH] libndr: add LIBNDR_FLAG_RELATIVE_REVERSE flag. Guenther --- librpc/idl/idl_types.h | 2 ++ librpc/ndr/libndr.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/librpc/idl/idl_types.h b/librpc/idl/idl_types.h index 9885ca5bf65..193a1f612f1 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 57797cdda31..39ae25f7e68 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) -- 2.11.4.GIT