aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2019-07-29 17:16:28 +0200
committerAndreas Schneider <asn@cryptomilk.org>2019-07-30 13:26:29 +0200
commit33927f3ae84501c9bcafc3133ec6fd06440beebc (patch)
tree6a23264e21e94d441f6cf87adfd17ce00e2d11d8 /include/libssh
parentc03c9b88d12c32bf9f718a627591b0206406824b (diff)
downloadlibssh-33927f3ae84501c9bcafc3133ec6fd06440beebc.tar.gz
libssh-33927f3ae84501c9bcafc3133ec6fd06440beebc.tar.xz
libssh-33927f3ae84501c9bcafc3133ec6fd06440beebc.zip
misc: Introduce ssh_log_hexdump()
The introduced internal function is intended to be a replacement for the deprecated function ssh_print_hexa(). Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/misc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/misc.h b/include/libssh/misc.h
index 94da3979..769f2da0 100644
--- a/include/libssh/misc.h
+++ b/include/libssh/misc.h
@@ -83,4 +83,5 @@ int ssh_match_group(const char *group, const char *object);
void uint64_inc(unsigned char *counter);
+void ssh_log_hexdump(const char *descr, const unsigned char *what, size_t len);
#endif /* MISC_H_ */