mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
async connections working
--HG-- branch : fastopen
This commit is contained in:
@@ -73,6 +73,7 @@ struct Channel {
|
||||
* to ensure we don't run it twice (nor type->checkclose()). */
|
||||
int close_handler_done;
|
||||
|
||||
struct dropbear_progress_connection *conn_pending;
|
||||
int initconn; /* used for TCP forwarding, whether the channel has been
|
||||
fully initialised */
|
||||
|
||||
@@ -100,6 +101,9 @@ struct ChanType {
|
||||
void (*closehandler)(struct Channel*);
|
||||
};
|
||||
|
||||
/* Callback for connect_remote */
|
||||
void channel_connect_done(int result, int sock, void* user_data, const char* errstring);
|
||||
|
||||
void chaninitialise(const struct ChanType *chantypes[]);
|
||||
void chancleanup();
|
||||
void setchannelfds(fd_set *readfd, fd_set *writefd);
|
||||
|
||||
Reference in New Issue
Block a user