comparison channel.h @ 971:763979a9c1f1 coverity

merge
author Matt Johnston <matt@ucc.asn.au>
date Tue, 19 Aug 2014 23:36:46 +0800
parents 0bb16232e7c4
children 02baa0b334e8 deed0571cacc
comparison
equal deleted inserted replaced
964:67ff2be856ff 971:763979a9c1f1
103 void chaninitialise(const struct ChanType *chantypes[]); 103 void chaninitialise(const struct ChanType *chantypes[]);
104 void chancleanup(); 104 void chancleanup();
105 void setchannelfds(fd_set *readfd, fd_set *writefd); 105 void setchannelfds(fd_set *readfd, fd_set *writefd);
106 void channelio(fd_set *readfd, fd_set *writefd); 106 void channelio(fd_set *readfd, fd_set *writefd);
107 struct Channel* getchannel(); 107 struct Channel* getchannel();
108 /* Returns an arbitrary channel that is in a ready state - not
109 being initialised and no EOF in either direction. NULL if none. */
110 struct Channel* get_any_ready_channel();
108 111
109 void recv_msg_channel_open(); 112 void recv_msg_channel_open();
110 void recv_msg_channel_request(); 113 void recv_msg_channel_request();
111 void send_msg_channel_failure(struct Channel *channel); 114 void send_msg_channel_failure(struct Channel *channel);
112 void send_msg_channel_success(struct Channel *channel); 115 void send_msg_channel_success(struct Channel *channel);
126 #if defined(USING_LISTENERS) || defined(DROPBEAR_CLIENT) 129 #if defined(USING_LISTENERS) || defined(DROPBEAR_CLIENT)
127 int send_msg_channel_open_init(int fd, const struct ChanType *type); 130 int send_msg_channel_open_init(int fd, const struct ChanType *type);
128 void recv_msg_channel_open_confirmation(); 131 void recv_msg_channel_open_confirmation();
129 void recv_msg_channel_open_failure(); 132 void recv_msg_channel_open_failure();
130 #endif 133 #endif
134 void start_send_channel_request(struct Channel *channel, unsigned char *type);
131 135
132 void send_msg_request_success(); 136 void send_msg_request_success();
133 void send_msg_request_failure(); 137 void send_msg_request_failure();
134 138
139
135 #endif /* _CHANNEL_H_ */ 140 #endif /* _CHANNEL_H_ */