pacemaker  2.1.3-ea053b43a
Scalable High-Availability cluster resource manager
mainloop_compat.h
Go to the documentation of this file.
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__CRM_COMMON_MAINLOOP_COMPAT__H
11 # define PCMK__CRM_COMMON_MAINLOOP_COMPAT__H
12 
13 # include <glib.h>
14 # include <stdbool.h>
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
29 gboolean crm_signal(int sig, void (*dispatch) (int sig));
31 
32 #ifdef __cplusplus
33 }
34 #endif
35 
36 #endif // PCMK__CRM_COMMON_MAINLOOP_COMPAT__H
gboolean crm_signal(int sig, void(*dispatch)(int sig))
Definition: mainloop.c:1494