9#ifndef PCMK__PORTABILITY__H
10# define PCMK__PORTABILITY__H
24# ifndef PCMK__CONFIG_H
25# define PCMK__CONFIG_H
47# ifndef HAVE_STRCHRNUL
52# ifndef HAVE_ALPHASORT
54int alphasort(
const void *dirent1,
const void *dirent2);
58size_t strnlen(
const char *s,
size_t maxlen);
64char *
strndup(
const char *str,
size_t len);
70# ifndef HAVE_DBUSBASICVALUE
72# include <dbus/dbus.h>
95 unsigned char bytes[8];
101# ifdef DBUS_HAVE_INT64
105 DBus8ByteStruct eight;
119# define PCMK__ENOTUNIQ
129# define PCMK__ELIBACC
134# define PCMK__EREMOTIO
135# define EREMOTEIO 193
144# define PCMK__ENODATA
154# define PCMK__EKEYREJECTED
155# define EKEYREJECTED 200
char * strndup(const char *str, size_t len)
char * strerror(int errnum)
int setenv(const char *name, const char *value, int why)
char * strchrnul(const char *s, int c_in)
int alphasort(const void *dirent1, const void *dirent2)
int daemon(int nochdir, int noclose)
size_t strnlen(const char *s, size_t maxlen)