version 1.7, 2000/04/03 07:07:15 |
version 1.7.2.4, 2001/03/21 18:52:54 |
|
|
* 2. Redistributions in binary form must reproduce the above copyright |
* 2. Redistributions in binary form must reproduce the above copyright |
* notice, this list of conditions and the following disclaimer in the |
* notice, this list of conditions and the following disclaimer in the |
* documentation and/or other materials provided with the distribution. |
* documentation and/or other materials provided with the distribution. |
* 3. All advertising materials mentioning features or use of this software |
|
* must display the following acknowledgement: |
|
* This product includes software developed by Markus Friedl. |
|
* 4. The name of the author may not be used to endorse or promote products |
|
* derived from this software without specific prior written permission. |
|
* |
* |
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
|
|
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
*/ |
|
|
/* RCSID("$Id$"); */ |
/* RCSID("$OpenBSD$"); */ |
|
|
#ifndef NCHAN_H |
#ifndef NCHAN_H |
#define NCHAN_H |
#define NCHAN_H |
|
|
extern chan_event_fn *chan_write_failed; |
extern chan_event_fn *chan_write_failed; |
extern chan_event_fn *chan_obuf_empty; |
extern chan_event_fn *chan_obuf_empty; |
|
|
extern chan_event_fn *chan_delete_if_full_closed; |
int chan_is_dead(Channel * c); |
|
|
void chan_init_iostates(Channel * c); |
void chan_init_iostates(Channel * c); |
void chan_init(void); |
void chan_init(void); |