summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
Diffstat (limited to 'channels.h')
-rw-r--r--channels.h11
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
120void channel_set_fds(int id, int rfd, int wfd, int efd, int extusage);
121void channel_open(int id); 120void channel_open(int id);
122void channel_request(int id, char *service, int wantconfirm); 121void channel_request(int id, char *service, int wantconfirm);
123void channel_request_start(int id, char *service, int wantconfirm); 122void channel_request_start(int id, char *service, int wantconfirm);
@@ -129,7 +128,13 @@ Channel *channel_lookup(int id);
129 128
130int 129int
131channel_new(char *ctype, int type, int rfd, int wfd, int efd, 130channel_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);
133void
134channel_set_fds(int id, int rfd, int wfd, int efd,
135 int extusage, int nonblock);
136
137void deny_input_open(int type, int plen, void *ctxt);
133 138
134void channel_input_channel_request(int type, int plen, void *ctxt); 139void channel_input_channel_request(int type, int plen, void *ctxt);
135void channel_input_close(int type, int plen, void *ctxt); 140void channel_input_close(int type, int plen, void *ctxt);