Annotation of src/usr.bin/ssh/includes.h, Revision 1.13.2.4
1.13.2.1 jason 1: /* $OpenBSD: includes.h,v 1.14 2001/01/29 01:58:16 niklas Exp $ */
2:
1.1 deraadt 3: /*
1.10 deraadt 4: * Author: Tatu Ylonen <ylo@cs.hut.fi>
5: * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
6: * All rights reserved
7: * This file includes most of the needed system headers.
1.12 markus 8: *
1.13 deraadt 9: * As far as I am concerned, the code I have written for this software
10: * can be used freely for any purpose. Any derived versions of this
11: * software must be clearly marked as such, and if the derived work is
12: * incompatible with the protocol description in the RFC file, it must be
13: * called by a name other than "ssh" or "Secure Shell".
1.10 deraadt 14: */
1.1 deraadt 15:
16: #ifndef INCLUDES_H
17: #define INCLUDES_H
18:
1.8 deraadt 19: #define RCSID(msg) \
20: static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
1.1 deraadt 21:
1.6 deraadt 22: #include <sys/types.h>
23: #include <sys/socket.h>
24: #include <sys/select.h>
25: #include <sys/param.h>
26: #include <sys/ioctl.h>
27: #include <sys/endian.h>
28: #include <sys/stat.h>
29: #include <sys/wait.h>
30: #include <sys/time.h>
31: #include <sys/un.h>
32: #include <sys/resource.h>
1.1 deraadt 33:
1.8 deraadt 34: #include <netinet/in.h>
35: #include <netinet/in_systm.h>
36: #include <netinet/tcp.h>
37: #include <netinet/ip.h>
38: #include <arpa/inet.h>
39: #include <netdb.h>
40:
1.3 dugsong 41: #include <netgroup.h>
1.1 deraadt 42: #include <stdio.h>
43: #include <ctype.h>
44: #include <errno.h>
45: #include <fcntl.h>
46: #include <signal.h>
47: #include <termios.h>
48: #include <stdlib.h>
49: #include <string.h>
50: #include <stdarg.h>
51: #include <pwd.h>
52: #include <grp.h>
53: #include <unistd.h>
54: #include <time.h>
55: #include <paths.h>
1.8 deraadt 56: #include <dirent.h>
1.1 deraadt 57:
1.8 deraadt 58: #include "version.h"
1.1 deraadt 59:
1.8 deraadt 60: /* Define this to be the path of the xauth program. */
61: #define XAUTH_PATH "/usr/X11R6/bin/xauth"
1.1 deraadt 62:
1.11 markus 63: /*
64: * Define this to use pipes instead of socketpairs for communicating with the
65: * client program. Socketpairs do not seem to work on all systems.
66: */
1.8 deraadt 67: #define USE_PIPES 1
1.1 deraadt 68:
1.10 deraadt 69: #endif /* INCLUDES_H */