root/lib/common/mock_private.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   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

/* [previous][next][first][last][top][bottom][index][help] */