10#ifndef PCMK__COMMON_MOCK_PRIVATE__H
11#define PCMK__COMMON_MOCK_PRIVATE__H
19#include <sys/utsname.h>
43FILE *
__wrap_fopen(
const char *pathname,
const char *mode);
45FILE *__real_fopen64(
const char *pathname,
const char *mode);
46FILE *__wrap_fopen64(
const char *pathname,
const char *mode);
79 char *buf,
size_t buflen,
struct passwd **
result);
81 char *buf,
size_t buflen,
struct passwd **
result);
int __wrap_setenv(const char *name, const char *value, int overwrite)
ssize_t __real_readlink(const char *restrict path, char *restrict buf, size_t bufsize)
void __real_endgrent(void)
void __real_setgrent(void)
char * __wrap_strdup(const char *s)
_Noreturn void __real_abort(void)
pid_t __wrap_getpid(void)
pid_t __real_getpid(void)
void * __real_realloc(void *ptr, size_t size)
bool pcmk__mock_getpwnam_r
FILE * __real_fopen(const char *pathname, const char *mode)
char * __wrap_getenv(const char *name)
void __wrap_endgrent(void)
char * __real_getenv(const char *name)
int __wrap_unsetenv(const char *name)
void * __wrap_calloc(size_t nmemb, size_t size)
int __real_getpwnam_r(const char *name, struct passwd *pwd, char *buf, size_t buflen, struct passwd **result)
void __wrap_setgrent(void)
void * __wrap_realloc(void *ptr, size_t size)
int __wrap_getpwnam_r(const char *name, struct passwd *pwd, char *buf, size_t buflen, struct passwd **result)
char * __real_strdup(const char *s)
int __real_unsetenv(const char *name)
struct group * __wrap_getgrent(void)
int __real_setenv(const char *name, const char *value, int overwrite)
void * __real_calloc(size_t nmemb, size_t size)
struct group * __real_getgrent(void)
ssize_t __wrap_readlink(const char *restrict path, char *restrict buf, size_t bufsize)
_Noreturn void __wrap_abort(void)
FILE * __wrap_fopen(const char *pathname, const char *mode)
pcmk__action_result_t result
Function and executable result codes.