mirror of https://github.com/wolfSSL/wolfssh.git
Add a public API for the SendDisconnect() function.
parent
66ff87c0a8
commit
915c1bced9
|
@ -1022,6 +1022,12 @@ int wolfSSH_SendIgnore(WOLFSSH* ssh, const byte* buf, word32 bufSz)
|
|||
}
|
||||
|
||||
|
||||
int wolfSSH_SendDisconnect(WOLFSSH* ssh, word32 reason)
|
||||
{
|
||||
return SendDisconnect(ssh, reason);
|
||||
}
|
||||
|
||||
|
||||
void wolfSSH_SetUserAuth(WOLFSSH_CTX* ctx, WS_CallbackUserAuth cb)
|
||||
{
|
||||
if (ctx != NULL) {
|
||||
|
|
|
@ -184,6 +184,7 @@ WOLFSSH_API int wolfSSH_stream_exit(WOLFSSH*, int);
|
|||
WOLFSSH_API int wolfSSH_extended_data_read(WOLFSSH*, byte*, word32);
|
||||
WOLFSSH_API int wolfSSH_TriggerKeyExchange(WOLFSSH*);
|
||||
WOLFSSH_API int wolfSSH_SendIgnore(WOLFSSH*, const byte*, word32);
|
||||
WOLFSSH_API int wolfSSH_SendDisconnect(WOLFSSH*, word32);
|
||||
WOLFSSH_API int wolfSSH_global_request(WOLFSSH*, const unsigned char*, word32, int);
|
||||
|
||||
WOLFSSH_API void wolfSSH_GetStats(WOLFSSH*,
|
||||
|
|
Loading…
Reference in New Issue