diff options
author | Volker Lendecke <vl@samba.org> | 2012-01-25 09:10:04 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2012-01-25 11:57:18 +0100 |
commit | e9d66999c6003009aac5a4e115963b1ef581c9dc (patch) | |
tree | 8024ef9fa8e5ad0f250d5b2a2b65f25b036832d1 /lib/util/samba_util.h | |
parent | 8dd63b93431a267d5bd0f32278f7229adbb44eaa (diff) | |
download | samba-e9d66999c6003009aac5a4e115963b1ef581c9dc.tar.gz samba-e9d66999c6003009aac5a4e115963b1ef581c9dc.tar.bz2 samba-e9d66999c6003009aac5a4e115963b1ef581c9dc.zip |
Introduce dump_data_file
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Jan 25 11:57:18 CET 2012 on sn-devel-104
Diffstat (limited to 'lib/util/samba_util.h')
-rw-r--r-- | lib/util/samba_util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/util/samba_util.h b/lib/util/samba_util.h index 95bf7fd743..9df3ddfcd0 100644 --- a/lib/util/samba_util.h +++ b/lib/util/samba_util.h @@ -702,6 +702,12 @@ void dump_data_cb(const uint8_t *buf, int len, void *private_data); /** + * Write dump of binary data to a FILE + */ +void dump_data_file(const uint8_t *buf, int len, bool omit_zero_bytes, + FILE *f); + +/** * Write dump of binary data to the log file. * * The data is only written if the log level is at least level. |