Mercurial > dropbear
comparison channel.h @ 1046:b8f4b7027191 coverity
merge
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 24 Feb 2015 22:48:34 +0800 |
parents | 7c899f24a85b |
children | 01eea88963f3 |
comparison
equal
deleted
inserted
replaced
1014:37c510c2ac7c | 1046:b8f4b7027191 |
---|---|
20 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | 20 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | 21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | 22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
23 * SOFTWARE. */ | 23 * SOFTWARE. */ |
24 | 24 |
25 #ifndef _CHANNEL_H_ | 25 #ifndef DROPBEAR_CHANNEL_H_ |
26 #define _CHANNEL_H_ | 26 #define DROPBEAR_CHANNEL_H_ |
27 | 27 |
28 #include "includes.h" | 28 #include "includes.h" |
29 #include "buffer.h" | 29 #include "buffer.h" |
30 #include "circbuffer.h" | 30 #include "circbuffer.h" |
31 | 31 |
90 enum dropbear_channel_prio prio; | 90 enum dropbear_channel_prio prio; |
91 }; | 91 }; |
92 | 92 |
93 struct ChanType { | 93 struct ChanType { |
94 | 94 |
95 int sepfds; /* Whether this channel has seperate pipes for in/out or not */ | 95 int sepfds; /* Whether this channel has separate pipes for in/out or not */ |
96 char *name; | 96 char *name; |
97 int (*inithandler)(struct Channel*); | 97 int (*inithandler)(struct Channel*); |
98 int (*check_close)(struct Channel*); | 98 int (*check_close)(struct Channel*); |
99 void (*reqhandler)(struct Channel*); | 99 void (*reqhandler)(struct Channel*); |
100 void (*closehandler)(struct Channel*); | 100 void (*closehandler)(struct Channel*); |
135 | 135 |
136 void send_msg_request_success(); | 136 void send_msg_request_success(); |
137 void send_msg_request_failure(); | 137 void send_msg_request_failure(); |
138 | 138 |
139 | 139 |
140 #endif /* _CHANNEL_H_ */ | 140 #endif /* DROPBEAR_CHANNEL_H_ */ |