From: Stefan Metzmacher Date: Mon, 12 Jun 2017 15:58:46 +0000 (+0200) Subject: idl_types.h: add NDR_SECRET shortcut X-Git-Tag: tdb-1.3.14~144 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=969ab12c56cd12dcc0e63e9b662397c1604a0cc0;p=thirdparty%2Fsamba.git idl_types.h: add NDR_SECRET shortcut BUG: https://bugzilla.samba.org/show_bug.cgi?id=12782 Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider --- 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