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