Mercurial > dropbear
diff channel.h @ 1278:0c47d97aa9d5
merge
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 16 Mar 2016 22:53:27 +0800 |
parents | 9169e4e7cbee |
children | 750ec4ec4cbe |
line wrap: on
line diff
--- a/channel.h Tue Mar 15 23:23:31 2016 +0800 +++ b/channel.h Wed Mar 16 22:53:27 2016 +0800 @@ -105,23 +105,23 @@ void channel_connect_done(int result, int sock, void* user_data, const char* errstring); void chaninitialise(const struct ChanType *chantypes[]); -void chancleanup(); +void chancleanup(void); void setchannelfds(fd_set *readfds, fd_set *writefds, int allow_reads); void channelio(fd_set *readfd, fd_set *writefd); -struct Channel* getchannel(); +struct Channel* getchannel(void); /* Returns an arbitrary channel that is in a ready state - not being initialised and no EOF in either direction. NULL if none. */ -struct Channel* get_any_ready_channel(); +struct Channel* get_any_ready_channel(void); -void recv_msg_channel_open(); -void recv_msg_channel_request(); +void recv_msg_channel_open(void); +void recv_msg_channel_request(void); void send_msg_channel_failure(struct Channel *channel); void send_msg_channel_success(struct Channel *channel); -void recv_msg_channel_data(); -void recv_msg_channel_extended_data(); -void recv_msg_channel_window_adjust(); -void recv_msg_channel_close(); -void recv_msg_channel_eof(); +void recv_msg_channel_data(void); +void recv_msg_channel_extended_data(void); +void recv_msg_channel_window_adjust(void); +void recv_msg_channel_close(void); +void recv_msg_channel_eof(void); void common_recv_msg_channel_data(struct Channel *channel, int fd, circbuffer * buf); @@ -132,13 +132,13 @@ #if defined(USING_LISTENERS) || defined(DROPBEAR_CLIENT) int send_msg_channel_open_init(int fd, const struct ChanType *type); -void recv_msg_channel_open_confirmation(); -void recv_msg_channel_open_failure(); +void recv_msg_channel_open_confirmation(void); +void recv_msg_channel_open_failure(void); #endif void start_send_channel_request(struct Channel *channel, char *type); -void send_msg_request_success(); -void send_msg_request_failure(); +void send_msg_request_success(void); +void send_msg_request_failure(void); #endif /* DROPBEAR_CHANNEL_H_ */