pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
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
18extern "C" {
19#endif
20
30// NOTE: sbd (as of at least 1.5.2) uses this
33
34// NOTE: sbd (as of at least 1.5.2) uses this
37
40
43
44// NOTE: sbd (as of at least 1.5.2) uses this
47
48// NOTE: sbd (as of at least 1.5.2) uses this
50pcmk_node_t *pe_find_node(const GList *node_list, const char *node_name);
51
52#ifdef __cplusplus
53}
54#endif
55
56#endif // PCMK__CRM_PENGINE_STATUS_COMPAT__H
Utility functions.
pcmk_scheduler_t * scheduler
Scheduler API.
void pe_free_working_set(pcmk_scheduler_t *scheduler)
Definition status.c:357
void pe_reset_working_set(pcmk_scheduler_t *scheduler)
Definition status.c:276
pcmk_scheduler_t * pe_new_working_set(void)
Definition status.c:270
void cleanup_calculations(pcmk_scheduler_t *scheduler)
Definition status.c:285
pcmk_node_t * pe_find_node(const GList *node_list, const char *node_name)
Definition status.c:363
void set_working_set_defaults(pcmk_scheduler_t *scheduler)
Definition status.c:336