root/include/crm/common/mainloop_compat.h

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

INCLUDED FROM


   1 /*
   2  * Copyright 2009-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 PCMK__COMMON_MAINLOOP_COMPAT__H
  11 #  define PCMK__COMMON_MAINLOOP_COMPAT__H
  12 
  13 #ifdef __cplusplus
  14 extern "C" {
  15 #endif
  16 
  17 /**
  18  * \file
  19  * \brief Deprecated Pacemaker mainloop API
  20  * \ingroup core
  21  * \deprecated Do not include this header directly. The main loop APIs in this
  22  *             header, and the header itself, will be removed in a future
  23  *             release.
  24  */
  25 
  26 //! \deprecated Use crm_signal_handler() instead
  27 gboolean crm_signal(int sig, void (*dispatch) (int sig));
  28 
  29 #ifdef __cplusplus
  30 }
  31 #endif
  32 
  33 #endif // PCMK__COMMON_MAINLOOP_COMPAT__H

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