diff options
author | Stefan Metzmacher <metze@samba.org> | 2017-06-12 17:58:46 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2017-07-13 20:01:26 +0200 |
commit | 6297a357c42e1e30e4a1e121c4f9657768268a98 (patch) | |
tree | 4664fa05b843ee61e70dddc2b8df5a29e0dfe63e | |
parent | 48a9a30a3cac5de643531622d760413b9c8e20d0 (diff) | |
download | samba-6297a357c42e1e30e4a1e121c4f9657768268a98.tar.gz |
idl_types.h: add NDR_SECRET shortcut
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12782
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 969ab12c56cd12dcc0e63e9b662397c1604a0cc0)
-rw-r--r-- | librpc/idl/idl_types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/librpc/idl/idl_types.h b/librpc/idl/idl_types.h index 72a5d857852..2d063de0bc7 100644 --- a/librpc/idl/idl_types.h +++ b/librpc/idl/idl_types.h @@ -52,6 +52,12 @@ */ #define NDR_PAHEX LIBNDR_PRINT_ARRAY_HEX +/* + * Mark an element as SECRET, it won't be printed by + * via ndr_print* unless NDR_PRINT_SECRETS is specified. + */ +#define NDR_SECRET LIBNDR_FLAG_IS_SECRET + #define NDR_RELATIVE_REVERSE LIBNDR_FLAG_RELATIVE_REVERSE #define NDR_NO_RELATIVE_REVERSE LIBNDR_FLAG_NO_RELATIVE_REVERSE |