log: add ssh_vlog to save the stack space

and add LOG_SIZE macro to control the buffer size

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Change-Id: I3eaeea001fc531fdb55074fc3a9d140b27847c1f
This commit is contained in:
Xiang Xiao
2021-05-10 19:27:31 +08:00
committed by Jakub Jelen
parent 672c1f8a3a
commit 14276f0b51
4 changed files with 39 additions and 20 deletions

View File

@@ -405,6 +405,7 @@ LIBSSH_4_5_0 # Released
ssh_userauth_publickey_auto_get_current_identity;
ssh_userauth_try_publickey;
ssh_version;
ssh_vlog;
ssh_write_knownhost;
string_burn;
string_copy;