Ben Lindstrom | a9c039c | 2002-02-19 20:27:55 +0000 | [diff] [blame^] | 1 | /* $Id: openbsd-compat.h,v 1.16 2002/02/19 20:27:57 mouring Exp $ */ |
Damien Miller | e9cf357 | 2001-02-09 12:55:35 +1100 | [diff] [blame] | 2 | |
Ben Lindstrom | 3c06f6a | 2001-01-31 21:52:01 +0000 | [diff] [blame] | 3 | #ifndef _OPENBSD_H |
| 4 | #define _OPENBSD_H |
| 5 | |
| 6 | #include "config.h" |
| 7 | |
| 8 | /* OpenBSD function replacements */ |
| 9 | #include "bindresvport.h" |
| 10 | #include "getcwd.h" |
| 11 | #include "realpath.h" |
| 12 | #include "rresvport.h" |
| 13 | #include "strlcpy.h" |
| 14 | #include "strlcat.h" |
| 15 | #include "strmode.h" |
| 16 | #include "mktemp.h" |
| 17 | #include "daemon.h" |
Ben Lindstrom | 68c3ce1 | 2001-06-10 17:24:51 +0000 | [diff] [blame] | 18 | #include "dirname.h" |
Ben Lindstrom | 3c06f6a | 2001-01-31 21:52:01 +0000 | [diff] [blame] | 19 | #include "base64.h" |
Ben Lindstrom | 803f16c | 2001-02-24 00:24:19 +0000 | [diff] [blame] | 20 | #include "sigact.h" |
Ben Lindstrom | 3c06f6a | 2001-01-31 21:52:01 +0000 | [diff] [blame] | 21 | #include "inet_ntoa.h" |
Tim Rice | e991e3c | 2001-08-07 15:29:07 -0700 | [diff] [blame] | 22 | #include "inet_ntop.h" |
Ben Lindstrom | 3c06f6a | 2001-01-31 21:52:01 +0000 | [diff] [blame] | 23 | #include "strsep.h" |
Ben Lindstrom | 3c06f6a | 2001-01-31 21:52:01 +0000 | [diff] [blame] | 24 | #include "setproctitle.h" |
| 25 | #include "getgrouplist.h" |
Damien Miller | 3c02768 | 2001-03-14 11:39:45 +1100 | [diff] [blame] | 26 | #include "glob.h" |
Damien Miller | c8a3868 | 2001-06-25 18:09:16 +1000 | [diff] [blame] | 27 | #include "readpassphrase.h" |
Damien Miller | 4f8e669 | 2001-07-14 13:22:53 +1000 | [diff] [blame] | 28 | #include "getopt.h" |
Ben Lindstrom | 3c06f6a | 2001-01-31 21:52:01 +0000 | [diff] [blame] | 29 | |
| 30 | /* Home grown routines */ |
| 31 | #include "bsd-arc4random.h" |
| 32 | #include "bsd-misc.h" |
| 33 | #include "bsd-snprintf.h" |
| 34 | #include "bsd-waitpid.h" |
| 35 | |
| 36 | /* rfc2553 socket API replacements */ |
| 37 | #include "fake-getaddrinfo.h" |
| 38 | #include "fake-getnameinfo.h" |
| 39 | #include "fake-socket.h" |
| 40 | |
Ben Lindstrom | 6db66ff | 2001-08-06 23:29:16 +0000 | [diff] [blame] | 41 | /* Routines for a single OS platform */ |
| 42 | #include "bsd-cray.h" |
Ben Lindstrom | f095a85 | 2002-02-19 20:02:48 +0000 | [diff] [blame] | 43 | #include "port-irix.h" |
Ben Lindstrom | a9c039c | 2002-02-19 20:27:55 +0000 | [diff] [blame^] | 44 | #include "port-aix.h" |
Ben Lindstrom | 6db66ff | 2001-08-06 23:29:16 +0000 | [diff] [blame] | 45 | |
Ben Lindstrom | 3c06f6a | 2001-01-31 21:52:01 +0000 | [diff] [blame] | 46 | #endif /* _OPENBSD_H */ |