1 /*
2 * Copyright 2024 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 General Public License version 2
7 * or later (GPLv2+) WITHOUT ANY WARRANTY.
8 */
9
10 #ifndef PCMK__CRM_COMMON_IPC_CLIENT_COMPAT__H
11 #define PCMK__CRM_COMMON_IPC_CLIENT_COMPAT__H
12
13 #include <stdbool.h> // bool
14 #include <crm/common/ipc.h> // crm_ipc_t
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19
20 /**
21 * \file
22 * \brief Deprecated Pacemaker IPC APIs
23 * \ingroup core
24 * \deprecated Do not include this header directly. The IPC APIs in this
25 * header, and the header itself, will be removed in a future
26 * release.
27 */
28
29 //! \deprecated Do not use
30 bool crm_ipc_connect(crm_ipc_t *client);
31
32 #ifdef __cplusplus
33 }
34 #endif
35
36 #endif // PCMK__CRM_COMMON_IPC_CLIENT_COMPAT__H