diff options
author | djm <djm> | 2002-01-22 12:28:45 +0000 |
---|---|---|
committer | djm <djm> | 2002-01-22 12:28:45 +0000 |
commit | 5a3d3569c6cf44673b3c8d0f24a4d1c580e81c57 (patch) | |
tree | 579f1fb16434019d37b33a109586407b975244b9 /channels.h | |
parent | 33672667575979dae9c1e4ba92f00f3a4c495f10 (diff) | |
download | openssh-5a3d3569c6cf44673b3c8d0f24a4d1c580e81c57.tar.gz |
- markus@cvs.openbsd.org 2002/01/14 13:55:55
[channels.c channels.h nchan.c]
remove function pointers for events, remove chan_init*; ok provos@
Diffstat (limited to 'channels.h')
-rw-r--r-- | channels.h | 20 |
1 files changed, 8 insertions, 12 deletions
@@ -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.57 2002/01/13 21:31:20 markus Exp $"); */ +/* RCSID("$OpenBSD: channels.h,v 1.58 2002/01/14 13:55:55 markus Exp $"); */ #ifndef CHANNEL_H #define CHANNEL_H @@ -215,19 +215,15 @@ void auth_input_open_request(int, u_int32_t, void *); int chan_is_dead(Channel *, int); void chan_mark_dead(Channel *); -void chan_init_iostates(Channel *); -void chan_init(void); -typedef void chan_event_fn(Channel *); +/* channel events */ -/* for the input state */ -extern chan_event_fn *chan_rcvd_oclose; -extern chan_event_fn *chan_read_failed; -extern chan_event_fn *chan_ibuf_empty; +void chan_rcvd_oclose(Channel *); +void chan_read_failed(Channel *); +void chan_ibuf_empty(Channel *); -/* for the output state */ -extern chan_event_fn *chan_rcvd_ieof; -extern chan_event_fn *chan_write_failed; -extern chan_event_fn *chan_obuf_empty; +void chan_rcvd_ieof(Channel *); +void chan_write_failed(Channel *); +void chan_obuf_empty(Channel *); #endif |