1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

lib: Move the dump_data_pw() prototype to the other dump_data_* ones

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2023-02-09 17:36:46 +01:00 committed by Jeremy Allison
parent 0195f8bc9a
commit e5d1527f74
2 changed files with 8 additions and 8 deletions

View File

@ -543,14 +543,6 @@ char *smb_xstrndup(const char *s, size_t n);
**/
_PUBLIC_ void *smb_memdup(const void *p, size_t size);
/**
* Write a password to the log file.
*
* @note Only actually does something if DEBUG_PASSWORD was defined during
* compile-time.
*/
_PUBLIC_ void dump_data_pw(const char *msg, const uint8_t * data, size_t len);
/**
* see if a range of memory is all zero. A NULL pointer is considered
* to be all zero

View File

@ -79,4 +79,12 @@ _PUBLIC_ void dump_data_file_diff(FILE *f,
const uint8_t *buf1, size_t len1,
const uint8_t *buf2, size_t len2);
/**
* Write a password to the log file.
*
* @note Only actually does something if DEBUG_PASSWORD was defined during
* compile-time.
*/
_PUBLIC_ void dump_data_pw(const char *msg, const uint8_t * data, size_t len);
#endif