summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-02-05 12:23:08 +1100
committerDamien Miller <djm@mindrot.org>2002-02-05 12:23:08 +1100
commit67f0bc043c2d3b4edd1d0cabb10cf3f10f544fb5 (patch)
tree1022e07bcec61662ee5ad65bd8be166e2012470c /channels.h
parent50e884d12512ddb500c09ac3dbad67094fe93f09 (diff)
downloadopenssh-git-67f0bc043c2d3b4edd1d0cabb10cf3f10f544fb5.tar.gz
- markus@cvs.openbsd.org 2002/02/03 17:58:21
[channels.c channels.h ssh.c] generic callbacks are not really used, remove and add a callback for msg of type SSH2_MSG_CHANNEL_OPEN_CONFIRMATION ok djm@
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 fa43b8ea..781c49d4 100644
--- a/channels.h
+++ b/channels.h
@@ -32,7 +32,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-/* RCSID("$OpenBSD: channels.h,v 1.61 2002/02/03 17:55:55 markus Exp $"); */
+/* RCSID("$OpenBSD: channels.h,v 1.62 2002/02/03 17:58:21 markus Exp $"); */
#ifndef CHANNEL_H
#define CHANNEL_H
@@ -101,9 +101,7 @@ struct Channel {
char *ctype; /* type */
/* callback */
- channel_callback_fn *cb_fn;
- void *cb_arg;
- int cb_event;
+ channel_callback_fn *confirm;
channel_callback_fn *detach_user;
/* filter */
@@ -149,8 +147,8 @@ void channel_stop_listening(void);
void channel_send_open(int);
void channel_request(int, char *, int);
void channel_request_start(int, char *, int);
-void channel_register_callback(int, int mtype, channel_callback_fn *, void *);
void channel_register_cleanup(int, channel_callback_fn *);
+void channel_register_confirm(int, channel_callback_fn *);
void channel_register_filter(int, channel_filter_fn *);
void channel_cancel_cleanup(int);
int channel_close_fd(int *);