]> andersk Git - openssh.git/blame - includes.h
Attempt to clean up PAM code
[openssh.git] / includes.h
CommitLineData
8efc0c15 1/*
2
3includes.h
4
5Author: Tatu Ylonen <ylo@cs.hut.fi>
6
7Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 All rights reserved
9
10Created: Thu Mar 23 16:29:37 1995 ylo
11
12This file includes most of the needed system headers.
13
14*/
15
16#ifndef INCLUDES_H
17#define INCLUDES_H
18
19#define RCSID(msg) \
20static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
21
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/stat.h>
28#include <sys/wait.h>
29#include <sys/time.h>
30#include <sys/un.h>
31#include <sys/resource.h>
32
33#include <netinet/in.h>
34#include <netinet/in_systm.h>
35#include <netinet/tcp.h>
36#include <netinet/ip.h>
37#include <arpa/inet.h>
38#include <netdb.h>
39
40#include <endian.h>
41#include <stdio.h>
42#include <ctype.h>
43#include <errno.h>
44#include <fcntl.h>
45#include <assert.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>
56#include <dirent.h>
57
58#include "version.h"
59
60#include "helper.h"
61#include "mktemp.h"
62#include "strlcpy.h"
63
d813bc69 64#ifdef HAVE_PAM
65#include <security/pam_appl.h>
66#endif /* HAVE_PAM */
67
68#ifdef HAVE_PWDB
69#include <pwdb/pwdb_map.h>
70#endif /* HAVE_PWDB */
71
8efc0c15 72/* Define this to be the path of the xauth program. */
73#ifndef XAUTH_PATH
74#define XAUTH_PATH "/usr/X11R6/bin/xauth"
75#endif /* XAUTH_PATH */
76
77/* Define this to be the path of the rsh program. */
78#ifndef _PATH_RSH
79#define _PATH_RSH "/usr/bin/rsh"
80#endif /* _PATH_RSH */
81
82/* Define this to use pipes instead of socketpairs for communicating with the
83 client program. Socketpairs do not seem to work on all systems. */
84#define USE_PIPES 1
85
ac7015f3 86#ifndef SHUT_RD
87#define SHUT_RD 0
88#define SHUT_WR 1
89#define SHUT_RDWR 2
90#endif /* SHUT_RD */
91
8efc0c15 92#endif /* INCLUDES_H */
This page took 0.054524 seconds and 5 git commands to generate.