10 #ifndef MOCK_PRIVATE__H 11 # define MOCK_PRIVATE__H 18 #include <sys/types.h> 19 #include <sys/utsname.h> 33 FILE *
__real_fopen(
const char *pathname,
const char *mode);
34 FILE *
__wrap_fopen(
const char *pathname,
const char *mode);
36 FILE *__real_fopen64(
const char *pathname,
const char *mode);
37 FILE *__wrap_fopen64(
const char *pathname,
const char *mode);
70 char *buf,
size_t buflen,
struct passwd **
result);
72 char *buf,
size_t buflen,
struct passwd **
result);
84 #endif // MOCK_PRIVATE__H
char * __wrap_strdup(const char *s)
int __wrap_getpwnam_r(const char *name, struct passwd *pwd, char *buf, size_t buflen, struct passwd **result)
ssize_t __wrap_readlink(const char *restrict path, char *restrict buf, size_t bufsize)
char * __real_getenv(const char *name)
void * __wrap_calloc(size_t nmemb, size_t size)
int __real_setenv(const char *name, const char *value, int overwrite)
pid_t __real_getpid(void)
void * __wrap_realloc(void *ptr, size_t size)
void __wrap_endgrent(void)
void __wrap_setgrent(void)
int __real_unsetenv(const char *name)
void __real_setgrent(void)
FILE * __wrap_fopen(const char *pathname, const char *mode)
void * __real_realloc(void *ptr, size_t size)
char * __wrap_getenv(const char *name)
pid_t __wrap_getpid(void)
_Noreturn void __real_abort(void)
void * __real_calloc(size_t nmemb, size_t size)
pcmk__action_result_t result
bool pcmk__mock_getpwnam_r
struct group * __real_getgrent(void)
void __real_endgrent(void)
ssize_t __real_readlink(const char *restrict path, char *restrict buf, size_t bufsize)
char * __real_strdup(const char *s)
FILE * __real_fopen(const char *pathname, const char *mode)
int __real_getpwnam_r(const char *name, struct passwd *pwd, char *buf, size_t buflen, struct passwd **result)
struct group * __wrap_getgrent(void)
int __wrap_unsetenv(const char *name)
_Noreturn void __wrap_abort(void)
int __wrap_setenv(const char *name, const char *value, int overwrite)