10 #ifndef MOCK_PRIVATE__H 11 # define MOCK_PRIVATE__H 18 #include <sys/types.h> 19 #include <sys/utsname.h> 30 FILE *
__real_fopen(
const char *pathname,
const char *mode);
31 FILE *
__wrap_fopen(
const char *pathname,
const char *mode);
33 FILE *__real_fopen64(
const char *pathname,
const char *mode);
34 FILE *__wrap_fopen64(
const char *pathname,
const char *mode);
63 char *buf,
size_t buflen,
struct passwd **
result);
65 char *buf,
size_t buflen,
struct passwd **
result);
81 #endif // MOCK_PRIVATE__H
int __wrap_uname(struct utsname *buf)
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_endgrent(void)
void __wrap_setgrent(void)
int __real_unsetenv(const char *name)
int __real_uname(struct utsname *buf)
void __real_setgrent(void)
FILE * __wrap_fopen(const char *pathname, const char *mode)
char * __wrap_getenv(const char *name)
pid_t __wrap_getpid(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)
int __wrap_setenv(const char *name, const char *value, int overwrite)