mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-03-11 09:17:38 +00:00
openbsd-compat/. And resolve all ./configure and Makefile.in issues assocated. Logic: * All OpenBSD functions should have the same filename as in the OpenBSD tree * All 'home brew' functions have bsd-* infront of them. * All 'not really implemented' functions have fake-* infront of them.
38 lines
765 B
C
38 lines
765 B
C
#ifndef _OPENBSD_H
|
|
#define _OPENBSD_H
|
|
|
|
#include "config.h"
|
|
|
|
/* OpenBSD function replacements */
|
|
#include "bindresvport.h"
|
|
#include "getcwd.h"
|
|
#include "realpath.h"
|
|
#include "rresvport.h"
|
|
#include "strlcpy.h"
|
|
#include "strlcat.h"
|
|
#include "strmode.h"
|
|
#include "mktemp.h"
|
|
#include "daemon.h"
|
|
#include "base64.h"
|
|
#include "sigaction.h"
|
|
#include "inet_aton.h"
|
|
#include "inet_ntoa.h"
|
|
#include "strsep.h"
|
|
#include "strtok.h"
|
|
#include "vis.h"
|
|
#include "setproctitle.h"
|
|
#include "getgrouplist.h"
|
|
|
|
/* Home grown routines */
|
|
#include "bsd-arc4random.h"
|
|
#include "bsd-misc.h"
|
|
#include "bsd-snprintf.h"
|
|
#include "bsd-waitpid.h"
|
|
|
|
/* rfc2553 socket API replacements */
|
|
#include "fake-getaddrinfo.h"
|
|
#include "fake-getnameinfo.h"
|
|
#include "fake-socket.h"
|
|
|
|
#endif /* _OPENBSD_H */
|