port of netbsd's tr
[minix.git] / commands / telnetd / telnetd.h
blob04e19ec5221756aa4ea82e6ea0992d4383ddcc18
1 /*
2 * TNET A server program for MINIX which implements the TCP/IP
3 * suite of networking protocols. It is based on the
4 * TCP/IP code written by Phil Karn et al, as found in
5 * his NET package for Packet Radio communications.
7 * Definitions for the TELNET server.
9 * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
12 extern int opt_d; /* debugging flag */
14 _PROTOTYPE(int get_pty, (int *, char **));
15 _PROTOTYPE(void term_init, (void));
16 _PROTOTYPE(void term_inout, (int pty_fd));
17 _PROTOTYPE(void tel_init, (void));
18 _PROTOTYPE(void telopt, (int fdout, int what, int option));
19 _PROTOTYPE(int tel_in, (int fdout, int telout, char *buffer, int len));
20 _PROTOTYPE(int tel_out, (int fdout, char *buf, int size));