]> andersk Git - openssh.git/blobdiff - nchan.h
- markus@cvs.openbsd.org 2001/05/17 21:34:15
[openssh.git] / nchan.h
diff --git a/nchan.h b/nchan.h
index 366b894ae98b874f35a465d8694103ceae6d20d0..db04973f451e7d193ef6784222248671cf2232b2 100644 (file)
--- a/nchan.h
+++ b/nchan.h
@@ -22,7 +22,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-/* RCSID("$OpenBSD: nchan.h,v 1.9 2000/09/07 20:27:52 deraadt Exp $"); */
+/* RCSID("$OpenBSD: nchan.h,v 1.11 2001/05/04 23:47:34 markus Exp $"); */
 
 #ifndef NCHAN_H
 #define NCHAN_H
@@ -69,6 +69,7 @@
 
 #define CHAN_CLOSE_SENT                        0x01
 #define CHAN_CLOSE_RCVD                        0x02
+#define CHAN_DEAD                      0x04
 
 
 /* Channel EVENTS */
@@ -84,7 +85,8 @@ extern chan_event_fn  *chan_rcvd_ieof;
 extern chan_event_fn   *chan_write_failed;
 extern chan_event_fn   *chan_obuf_empty;
 
-extern chan_event_fn   *chan_delete_if_full_closed;
+int chan_is_dead(Channel * c);
+void chan_mark_dead(Channel * c);
 
 void    chan_init_iostates(Channel * c);
 void   chan_init(void);
This page took 0.047973 seconds and 4 git commands to generate.