pacemaker  2.1.2-ada5c3b36
Scalable High-Availability cluster resource manager
mock_private.h
Go to the documentation of this file.
1 /*
2  * Copyright 2021 the Pacemaker project contributors
3  *
4  * The version control history for this file may have further details.
5  *
6  * This source code is licensed under the GNU Lesser General Public License
7  * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
8  */
9 
10 #ifndef MOCK_PRIVATE__H
11 # define MOCK_PRIVATE__H
12 
13 #include <sys/utsname.h>
14 
15 /* This header is for the sole use of libcrmcommon_test. */
16 
17 char *__real_getenv(const char *name);
18 char *__wrap_getenv(const char *name);
19 
20 int __real_uname(struct utsname *buf);
21 int __wrap_uname(struct utsname *buf);
22 
23 #endif // MOCK_PRIVATE__H
int __wrap_uname(struct utsname *buf)
char * __real_getenv(const char *name)
int __real_uname(struct utsname *buf)
char * __wrap_getenv(const char *name)
char * name
Definition: pcmk_fence.c:31