2001-02-09 04:55:35 +03:00
|
|
|
/* $Id: openbsd-compat.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
|
|
|
|
|
2001-02-01 00:52:01 +03:00
|
|
|
#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 */
|