pacemaker  2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
Functions
mock_private.h File Reference
#include <pwd.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/utsname.h>
Include dependency graph for mock_private.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void * __real_calloc (size_t nmemb, size_t size)
 
void * __wrap_calloc (size_t nmemb, size_t size)
 
char * __real_getenv (const char *name)
 
char * __wrap_getenv (const char *name)
 
int __real_getpwnam_r (const char *name, struct passwd *pwd, char *buf, size_t buflen, struct passwd **result)
 
int __wrap_getpwnam_r (const char *name, struct passwd *pwd, char *buf, size_t buflen, struct passwd **result)
 
int __real_uname (struct utsname *buf)
 
int __wrap_uname (struct utsname *buf)
 

Function Documentation

◆ __real_calloc()

void* __real_calloc ( size_t  nmemb,
size_t  size 
)

◆ __real_getenv()

char* __real_getenv ( const char *  name)

◆ __real_getpwnam_r()

int __real_getpwnam_r ( const char *  name,
struct passwd *  pwd,
char *  buf,
size_t  buflen,
struct passwd **  result 
)

◆ __real_uname()

int __real_uname ( struct utsname *  buf)

◆ __wrap_calloc()

void* __wrap_calloc ( size_t  nmemb,
size_t  size 
)

Definition at line 22 of file crm_user_lookup_test.c.

◆ __wrap_getenv()

char* __wrap_getenv ( const char *  name)

Definition at line 25 of file pcmk__get_tmpdir_test.c.

◆ __wrap_getpwnam_r()

int __wrap_getpwnam_r ( const char *  name,
struct passwd *  pwd,
char *  buf,
size_t  buflen,
struct passwd **  result 
)

Definition at line 34 of file crm_user_lookup_test.c.

◆ __wrap_uname()

int __wrap_uname ( struct utsname *  buf)

Definition at line 24 of file pcmk_hostname_test.c.