pacemaker
2.1.2-ada5c3b36
Scalable High-Availability cluster resource manager
lib
common
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
__wrap_uname
int __wrap_uname(struct utsname *buf)
Definition:
pcmk_hostname_test.c:24
__real_getenv
char * __real_getenv(const char *name)
__real_uname
int __real_uname(struct utsname *buf)
__wrap_getenv
char * __wrap_getenv(const char *name)
Definition:
pcmk__get_tmpdir_test.c:25
name
char * name
Definition:
pcmk_fence.c:31
Generated on Wed Nov 24 2021 11:15:07 for pacemaker by
1.8.14