summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
Diffstat (limited to 'channels.h')
-rw-r--r--channels.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/channels.h b/channels.h
index c36f66b68..e4146b593 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.43 2001/06/30 18:08:40 stevesk Exp $"); */ 35/* RCSID("$OpenBSD: channels.h,v 1.44 2001/07/02 22:52:57 markus Exp $"); */
36 36
37#ifndef CHANNEL_H 37#ifndef CHANNEL_H
38#define CHANNEL_H 38#define CHANNEL_H
@@ -102,7 +102,7 @@ struct Channel {
102 channel_callback_fn *cb_fn; 102 channel_callback_fn *cb_fn;
103 void *cb_arg; 103 void *cb_arg;
104 int cb_event; 104 int cb_event;
105 channel_callback_fn *dettach_user; 105 channel_callback_fn *detach_user;
106 106
107 /* filter */ 107 /* filter */
108 channel_filter_fn *input_filter; 108 channel_filter_fn *input_filter;
@@ -140,8 +140,10 @@ struct Channel {
140Channel *channel_lookup(int); 140Channel *channel_lookup(int);
141Channel *channel_new(char *, int, int, int, int, int, int, int, char *, int); 141Channel *channel_new(char *, int, int, int, int, int, int, int, char *, int);
142void channel_set_fds(int, int, int, int, int, int); 142void channel_set_fds(int, int, int, int, int, int);
143void channel_free(Channel *); 143void channel_free(Channel *);
144void channel_free_all(void); 144void channel_free_all(void);
145void channel_detach_all(void);
146void channel_stop_listening(void);
145 147
146void channel_send_open(int); 148void channel_send_open(int);
147void channel_request(int, char *, int); 149void channel_request(int, char *, int);