mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Avoid copying data into circular buffer
--HG-- branch : nocircbuffer
This commit is contained in:
1
netio.h
1
netio.h
@@ -27,6 +27,7 @@ struct dropbear_progress_connection;
|
||||
errstring is only set on DROPBEAR_FAILURE, returns failure message for the last attempted socket */
|
||||
typedef void(*connect_callback)(int result, int sock, void* data, const char* errstring);
|
||||
|
||||
/* Always returns a progress connection, if it fails it will call the callback at a later point */
|
||||
struct dropbear_progress_connection * connect_remote (const char* remotehost, const char* remoteport,
|
||||
connect_callback cb, void *cb_data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user