Annotation of src/usr.bin/telnet/telnet_locl.h, Revision 1.6
1.6 ! guenther 1: /* $OpenBSD: telnet_locl.h,v 1.5 2014/07/19 23:50:38 guenther Exp $ */
1.1 art 2: /* $KTH: telnet_locl.h,v 1.13 1997/11/03 21:37:55 assar Exp $ */
3:
4: /*
5: * Copyright (c) 1995, 1996, 1997 Kungliga Tekniska Högskolan
6: * (Royal Institute of Technology, Stockholm, Sweden).
7: * All rights reserved.
8: *
9: * Redistribution and use in source and binary forms, with or without
10: * modification, are permitted provided that the following conditions
11: * are met:
12: *
13: * 1. Redistributions of source code must retain the above copyright
14: * notice, this list of conditions and the following disclaimer.
15: *
16: * 2. Redistributions in binary form must reproduce the above copyright
17: * notice, this list of conditions and the following disclaimer in the
18: * documentation and/or other materials provided with the distribution.
19: *
20: * 3. All advertising materials mentioning features or use of this software
21: * must display the following acknowledgement:
22: * This product includes software developed by the Kungliga Tekniska
23: * Högskolan and its contributors.
24: *
25: * 4. Neither the name of the Institute nor the names of its contributors
26: * may be used to endorse or promote products derived from this software
27: * without specific prior written permission.
28: *
29: * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
30: * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
31: * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
32: * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
33: * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
34: * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
35: * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
36: * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
37: * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
38: * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
39: * SUCH DAMAGE.
40: */
41:
1.6 ! guenther 42: #include <sys/types.h>
! 43: #include <sys/socket.h>
1.1 art 44:
1.6 ! guenther 45: #include <ctype.h>
! 46: #include <errno.h>
! 47: #include <fcntl.h>
! 48: #include <netdb.h>
! 49: #include <setjmp.h>
! 50: #include <signal.h>
1.1 art 51: #include <stdio.h>
52: #include <stdlib.h>
53: #include <string.h>
54: #include <termios.h>
55: #include <time.h>
1.6 ! guenther 56: #include <unistd.h>
1.1 art 57:
58: #include <arpa/telnet.h>
59:
60: #include "ring.h"
61: #include "externs.h"
62: #include "defines.h"
63: