diff options
Diffstat (limited to 'channels.h')
-rw-r--r-- | channels.h | 8 |
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); | |||
149 | void channel_send_open(int); | 147 | void channel_send_open(int); |
150 | void channel_request(int, char *, int); | 148 | void channel_request(int, char *, int); |
151 | void channel_request_start(int, char *, int); | 149 | void channel_request_start(int, char *, int); |
152 | void channel_register_callback(int, int mtype, channel_callback_fn *, void *); | ||
153 | void channel_register_cleanup(int, channel_callback_fn *); | 150 | void channel_register_cleanup(int, channel_callback_fn *); |
151 | void channel_register_confirm(int, channel_callback_fn *); | ||
154 | void channel_register_filter(int, channel_filter_fn *); | 152 | void channel_register_filter(int, channel_filter_fn *); |
155 | void channel_cancel_cleanup(int); | 153 | void channel_cancel_cleanup(int); |
156 | int channel_close_fd(int *); | 154 | int channel_close_fd(int *); |