summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
Diffstat (limited to 'channels.h')
-rw-r--r--channels.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/channels.h b/channels.h
index fa43b8ea6..781c49d47 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.61 2002/02/03 17:55:55 markus Exp $"); */ 35/* RCSID("$OpenBSD: channels.h,v 1.62 2002/02/03 17:58:21 markus Exp $"); */
36 36
37#ifndef CHANNEL_H 37#ifndef CHANNEL_H
38#define CHANNEL_H 38#define CHANNEL_H
@@ -101,9 +101,7 @@ struct Channel {
101 char *ctype; /* type */ 101 char *ctype; /* type */
102 102
103 /* callback */ 103 /* callback */
104 channel_callback_fn *cb_fn; 104 channel_callback_fn *confirm;
105 void *cb_arg;
106 int cb_event;
107 channel_callback_fn *detach_user; 105 channel_callback_fn *detach_user;
108 106
109 /* filter */ 107 /* filter */
@@ -149,8 +147,8 @@ void channel_stop_listening(void);
149void channel_send_open(int); 147void channel_send_open(int);
150void channel_request(int, char *, int); 148void channel_request(int, char *, int);
151void channel_request_start(int, char *, int); 149void channel_request_start(int, char *, int);
152void channel_register_callback(int, int mtype, channel_callback_fn *, void *);
153void channel_register_cleanup(int, channel_callback_fn *); 150void channel_register_cleanup(int, channel_callback_fn *);
151void channel_register_confirm(int, channel_callback_fn *);
154void channel_register_filter(int, channel_filter_fn *); 152void channel_register_filter(int, channel_filter_fn *);
155void channel_cancel_cleanup(int); 153void channel_cancel_cleanup(int);
156int channel_close_fd(int *); 154int channel_close_fd(int *);