xref: /titanic_44/usr/src/cmd/ssh/include/openbsd-compat.h (revision 9dd0f810214fdc8e1af881a9a5c4b6927629ff9e)
1 /* $Id: openbsd-compat.h,v 1.17 2002/09/12 00:33:02 djm Exp $ */
2 
3 #ifndef	_OPENBSD_COMPAT_H
4 #define	_OPENBSD_COMPAT_H
5 
6 #pragma ident	"%Z%%M%	%I%	%E% SMI"
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 #include "config.h"
13 
14 /* OpenBSD function replacements */
15 #include "bindresvport.h"
16 #include "getcwd.h"
17 #include "realpath.h"
18 #include "rresvport.h"
19 #include "strlcpy.h"
20 #include "strlcat.h"
21 #include "strmode.h"
22 #include "mktemp.h"
23 #include "daemon.h"
24 #include "dirname.h"
25 #include "base64.h"
26 #include "sigact.h"
27 #include "inet_ntoa.h"
28 #include "inet_ntop.h"
29 #include "strsep.h"
30 #include "setproctitle.h"
31 #include "getgrouplist.h"
32 #include "glob.h"
33 #include "readpassphrase.h"
34 #include "getopt.h"
35 
36 /* Home grown routines */
37 #include "bsd-arc4random.h"
38 #include "bsd-getpeereid.h"
39 #include "bsd-misc.h"
40 #include "bsd-snprintf.h"
41 #include "bsd-waitpid.h"
42 
43 /* rfc2553 socket API replacements */
44 #include "fake-getaddrinfo.h"
45 #include "fake-getnameinfo.h"
46 #include "fake-socket.h"
47 
48 /* Routines for a single OS platform */
49 #include "bsd-cray.h"
50 #include "port-irix.h"
51 #include "port-aix.h"
52 
53 #ifdef __cplusplus
54 }
55 #endif
56 
57 #endif /* _OPENBSD_COMPAT_H */
58