[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.34

1.34    ! stevesk     1: /*     $OpenBSD: includes.h,v 1.33 2006/02/10 01:44:26 stevesk Exp $   */
1.14      niklas      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) \
1.19      djm        20: static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
1.1       deraadt    21:
1.6       deraadt    22: #include <sys/types.h>
                     23: #include <sys/socket.h>
                     24: #include <sys/param.h>
                     25: #include <sys/stat.h>
                     26: #include <sys/time.h>
1.1       deraadt    27:
1.8       deraadt    28: #include <netinet/in.h>
                     29: #include <arpa/inet.h>
                     30: #include <netdb.h>
                     31:
1.18      djm        32: #include <stddef.h>
1.1       deraadt    33: #include <stdio.h>
                     34: #include <ctype.h>
                     35: #include <errno.h>
                     36: #include <fcntl.h>
                     37: #include <signal.h>
                     38: #include <stdlib.h>
                     39: #include <string.h>
                     40: #include <stdarg.h>
                     41: #include <pwd.h>
                     42: #include <grp.h>
                     43: #include <unistd.h>
                     44: #include <time.h>
                     45:
1.8       deraadt    46: #include "version.h"
1.1       deraadt    47:
1.11      markus     48: /*
                     49:  * Define this to use pipes instead of socketpairs for communicating with the
                     50:  * client program.  Socketpairs do not seem to work on all systems.
                     51:  */
1.8       deraadt    52: #define USE_PIPES 1
1.1       deraadt    53:
1.10      deraadt    54: #endif                         /* INCLUDES_H */