diff options
Diffstat (limited to 'channels.h')
-rw-r--r-- | channels.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/channels.h b/channels.h index a74f59261..00526860c 100644 --- a/channels.h +++ b/channels.h | |||
@@ -32,7 +32,7 @@ | |||
32 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 32 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
33 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 33 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
34 | */ | 34 | */ |
35 | /* RCSID("$OpenBSD: channels.h,v 1.20 2000/09/21 11:25:33 markus Exp $"); */ | 35 | /* RCSID("$OpenBSD: channels.h,v 1.22 2000/10/27 07:48:22 markus Exp $"); */ |
36 | 36 | ||
37 | #ifndef CHANNELS_H | 37 | #ifndef CHANNELS_H |
38 | #define CHANNELS_H | 38 | #define CHANNELS_H |
@@ -117,7 +117,6 @@ struct Channel { | |||
117 | #define CHAN_X11_PACKET_DEFAULT (CHAN_X11_WINDOW_DEFAULT/2) | 117 | #define CHAN_X11_PACKET_DEFAULT (CHAN_X11_WINDOW_DEFAULT/2) |
118 | 118 | ||
119 | 119 | ||
120 | void channel_set_fds(int id, int rfd, int wfd, int efd, int extusage); | ||
121 | void channel_open(int id); | 120 | void channel_open(int id); |
122 | void channel_request(int id, char *service, int wantconfirm); | 121 | void channel_request(int id, char *service, int wantconfirm); |
123 | void channel_request_start(int id, char *service, int wantconfirm); | 122 | void channel_request_start(int id, char *service, int wantconfirm); |
@@ -129,7 +128,13 @@ Channel *channel_lookup(int id); | |||
129 | 128 | ||
130 | int | 129 | int |
131 | channel_new(char *ctype, int type, int rfd, int wfd, int efd, | 130 | channel_new(char *ctype, int type, int rfd, int wfd, int efd, |
132 | int window, int maxpack, int extended_usage, char *remote_name); | 131 | int window, int maxpack, int extended_usage, char *remote_name, |
132 | int nonblock); | ||
133 | void | ||
134 | channel_set_fds(int id, int rfd, int wfd, int efd, | ||
135 | int extusage, int nonblock); | ||
136 | |||
137 | void deny_input_open(int type, int plen, void *ctxt); | ||
133 | 138 | ||
134 | void channel_input_channel_request(int type, int plen, void *ctxt); | 139 | void channel_input_channel_request(int type, int plen, void *ctxt); |
135 | void channel_input_close(int type, int plen, void *ctxt); | 140 | void channel_input_close(int type, int plen, void *ctxt); |