diff options
Diffstat (limited to 'lib/util/samba_util.h')
-rw-r--r-- | lib/util/samba_util.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/util/samba_util.h b/lib/util/samba_util.h index 6a4373e424..89aa9aa7d8 100644 --- a/lib/util/samba_util.h +++ b/lib/util/samba_util.h @@ -693,6 +693,14 @@ _PUBLIC_ void dump_data(int level, const uint8_t *buf,int len); /** * Write dump of binary data to the log file. * + * The data is only written if the log level is at least level for + * debug class dbgc_class. + */ +_PUBLIC_ void dump_data_dbgc(int dbgc_class, int level, const uint8_t *buf, int len); + +/** + * Write dump of binary data to the log file. + * * The data is only written if the log level is at least level. * 16 zero bytes in a row are omitted */ |