summaryrefslogtreecommitdiff
path: root/librpc/ndr/libndr.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-08-09 16:37:52 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-08-14 11:58:13 +1000
commit3828c76c76e4e9ce7bdb33bc4871f5cf571cc18b (patch)
tree835b1e9da49815679bc16d8606955f2b0214146e /librpc/ndr/libndr.h
parent7bb5d353e84fa2998ae03fb7ecff1c59685dd9b7 (diff)
downloadsamba-3828c76c76e4e9ce7bdb33bc4871f5cf571cc18b.tar.gz
samba-3828c76c76e4e9ce7bdb33bc4871f5cf571cc18b.tar.bz2
samba-3828c76c76e4e9ce7bdb33bc4871f5cf571cc18b.zip
ndr: allow ndr_print to print DATA_BLOB
this prints DATA_BLOB structures using the ndr->print() calls Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'librpc/ndr/libndr.h')
-rw-r--r--librpc/ndr/libndr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/librpc/ndr/libndr.h b/librpc/ndr/libndr.h
index d5091a6619..9134efa174 100644
--- a/librpc/ndr/libndr.h
+++ b/librpc/ndr/libndr.h
@@ -105,6 +105,7 @@ struct ndr_print {
struct ndr_token_list *switch_list;
void (*print)(struct ndr_print *, const char *, ...) PRINTF_ATTRIBUTE(2,3);
void *private_data;
+ bool no_newline;
};
#define LIBNDR_FLAG_BIGENDIAN (1<<0)