[BACK]Return to includes.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Annotation of src/usr.bin/ssh/includes.h, Revision 1.12.2.1

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