comparison channel.h @ 1052:e40d1b63b6a6 coverity

merge
author Matt Johnston <matt@ucc.asn.au>
date Sat, 28 Feb 2015 23:25:16 +0800
parents 01eea88963f3
children 10f198d4a308
comparison
equal deleted inserted replaced
1046:b8f4b7027191 1052:e40d1b63b6a6
71 71
72 /* Set after running the ChanType-specific close hander 72 /* Set after running the ChanType-specific close hander
73 * to ensure we don't run it twice (nor type->checkclose()). */ 73 * to ensure we don't run it twice (nor type->checkclose()). */
74 int close_handler_done; 74 int close_handler_done;
75 75
76 struct dropbear_progress_connection *conn_pending;
76 int initconn; /* used for TCP forwarding, whether the channel has been 77 int initconn; /* used for TCP forwarding, whether the channel has been
77 fully initialised */ 78 fully initialised */
78 79
79 int await_open; /* flag indicating whether we've sent an open request 80 int await_open; /* flag indicating whether we've sent an open request
80 for this channel (and are awaiting a confirmation 81 for this channel (and are awaiting a confirmation
97 int (*inithandler)(struct Channel*); 98 int (*inithandler)(struct Channel*);
98 int (*check_close)(struct Channel*); 99 int (*check_close)(struct Channel*);
99 void (*reqhandler)(struct Channel*); 100 void (*reqhandler)(struct Channel*);
100 void (*closehandler)(struct Channel*); 101 void (*closehandler)(struct Channel*);
101 }; 102 };
103
104 /* Callback for connect_remote */
105 void channel_connect_done(int result, int sock, void* user_data, const char* errstring);
102 106
103 void chaninitialise(const struct ChanType *chantypes[]); 107 void chaninitialise(const struct ChanType *chantypes[]);
104 void chancleanup(); 108 void chancleanup();
105 void setchannelfds(fd_set *readfd, fd_set *writefd); 109 void setchannelfds(fd_set *readfd, fd_set *writefd);
106 void channelio(fd_set *readfd, fd_set *writefd); 110 void channelio(fd_set *readfd, fd_set *writefd);