From 9796ba264ca1ad8a7ec178ecfec6331d4cac4349 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 21 Aug 2005 13:19:36 +0000 Subject: r9445: Support flags, add DATA_BLOB support (This used to be commit cb5b23f0382ea7e242248cdfbbed82bc4eedfe42) --- source4/lib/tdr/tdr.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source4/lib/tdr/tdr.h') diff --git a/source4/lib/tdr/tdr.h b/source4/lib/tdr/tdr.h index 604f9d549a..b6a1177c0d 100644 --- a/source4/lib/tdr/tdr.h +++ b/source4/lib/tdr/tdr.h @@ -18,7 +18,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#define TDR_FLAG_BIGENDIAN 1 +#define TDR_BIG_ENDIAN 0x01 +#define TDR_ALIGN2 0x02 +#define TDR_ALIGN4 0x04 +#define TDR_ALIGN8 0x08 +#define TDR_REMAINING 0x10 struct tdr_pull { uint8_t *data; @@ -38,6 +42,7 @@ struct tdr_push { struct tdr_print { int level; void (*print)(struct tdr_print *, const char *, ...); + int flags; }; #define TDR_CHECK(call) do { NTSTATUS _status; \ -- cgit