diff options
author | Stefan Metzmacher <metze@samba.org> | 2017-06-12 17:58:46 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2017-06-27 16:57:43 +0200 |
commit | 969ab12c56cd12dcc0e63e9b662397c1604a0cc0 (patch) | |
tree | 8997a3bf769c27d6b892b11d5a6c5560490fbacf /librpc | |
parent | 32aa3a199dfd61eb5982e158008964b4747599b8 (diff) | |
download | samba-969ab12c56cd12dcc0e63e9b662397c1604a0cc0.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>
Diffstat (limited to 'librpc')
-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 |