pacemaker
3.0.0-d8340737c4
Scalable High-Availability cluster resource manager
include
crm
pengine
status_compat.h
Go to the documentation of this file.
1
/*
2
* Copyright 2004-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 Lesser General Public License
7
* version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
8
*/
9
10
#ifndef PCMK__CRM_PENGINE_STATUS_COMPAT__H
11
#define PCMK__CRM_PENGINE_STATUS_COMPAT__H
12
13
#include <stdbool.h>
// bool
14
#include <
crm/common/util.h
>
// pcmk_is_set()
15
#include <
crm/common/scheduler.h
>
// pcmk_resource_t, pcmk__rsc_unique, etc.
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
30
// NOTE: sbd (as of at least 1.5.2) uses this
32
pcmk_node_t
*
pe_find_node
(
const
GList *node_list,
const
char
*node_name);
33
34
#ifdef __cplusplus
35
}
36
#endif
37
38
#endif // PCMK__CRM_PENGINE_STATUS_COMPAT__H
scheduler.h
Scheduler API.
pcmk__scored_node
Definition:
nodes.h:78
pe_find_node
pcmk_node_t * pe_find_node(const GList *node_list, const char *node_name)
Find a node by name in a list of nodes.
Definition:
status.c:540
util.h
Utility functions.
Generated on Wed Jan 8 2025 16:55:39 for pacemaker by
1.8.14