Mercurial > dropbear
comparison channel.h @ 1295:750ec4ec4cbe
Convert #ifdef to #if, other build changes
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 04 May 2016 15:33:40 +0200 |
parents | 9169e4e7cbee |
children | 06d52bcb8094 |
comparison
equal
deleted
inserted
replaced
1294:56aba7dedbea | 1295:750ec4ec4cbe |
---|---|
124 void recv_msg_channel_eof(void); | 124 void recv_msg_channel_eof(void); |
125 | 125 |
126 void common_recv_msg_channel_data(struct Channel *channel, int fd, | 126 void common_recv_msg_channel_data(struct Channel *channel, int fd, |
127 circbuffer * buf); | 127 circbuffer * buf); |
128 | 128 |
129 #ifdef DROPBEAR_CLIENT | 129 #if DROPBEAR_CLIENT |
130 extern const struct ChanType clichansess; | 130 extern const struct ChanType clichansess; |
131 #endif | 131 #endif |
132 | 132 |
133 #if defined(USING_LISTENERS) || defined(DROPBEAR_CLIENT) | 133 #if DROPBEAR_LISTENERS || DROPBEAR_CLIENT |
134 int send_msg_channel_open_init(int fd, const struct ChanType *type); | 134 int send_msg_channel_open_init(int fd, const struct ChanType *type); |
135 void recv_msg_channel_open_confirmation(void); | 135 void recv_msg_channel_open_confirmation(void); |
136 void recv_msg_channel_open_failure(void); | 136 void recv_msg_channel_open_failure(void); |
137 #endif | 137 #endif |
138 void start_send_channel_request(struct Channel *channel, char *type); | 138 void start_send_channel_request(struct Channel *channel, char *type); |