minix/commands/telnetd/telnetd.h

21 lines
732 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
/*
* TNET A server program for MINIX which implements the TCP/IP
* suite of networking protocols. It is based on the
* TCP/IP code written by Phil Karn et al, as found in
* his NET package for Packet Radio communications.
*
* Definitions for the TELNET server.
*
* Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
*/
extern int opt_d; /* debugging flag */
_PROTOTYPE(int get_pty, (int *, char **));
_PROTOTYPE(void term_init, (void));
_PROTOTYPE(void term_inout, (int pty_fd));
_PROTOTYPE(void tel_init, (void));
_PROTOTYPE(void telopt, (int fdout, int what, int option));
_PROTOTYPE(int tel_in, (int fdout, int telout, char *buffer, int len));
_PROTOTYPE(int tel_out, (int fdout, char *buf, int size));