pacemaker  2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
Functions
crm_user_lookup_test.c File Reference
#include <crm_internal.h>
#include "mock_private.h"
#include <pwd.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdint.h>
#include <setjmp.h>
#include <cmocka.h>
#include <sys/types.h>
Include dependency graph for crm_user_lookup_test.c:

Go to the source code of this file.

Functions

void * __wrap_calloc (size_t nmemb, size_t size)
 
int __wrap_getpwnam_r (const char *name, struct passwd *pwd, char *buf, size_t buflen, struct passwd **result)
 
int main (int argc, char **argv)
 

Function Documentation

◆ __wrap_calloc()

void* __wrap_calloc ( size_t  nmemb,
size_t  size 
)

Definition at line 22 of file crm_user_lookup_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.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 116 of file crm_user_lookup_test.c.