pacemaker
2.1.6-802a72226b
Scalable High-Availability cluster resource manager
include
pcmki
pcmki_sched_utils.h
Go to the documentation of this file.
1
/*
2
* Copyright 2004-2023 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__PCMKI_PCMKI_SCHED_UTILS__H
11
# define PCMK__PCMKI_PCMKI_SCHED_UTILS__H
12
13
#include <stdbool.h>
// bool
14
#include <glib.h>
// GList, GHashTable, gboolean, guint
15
#include <
crm/lrmd.h
>
// lrmd_event_data_t
16
#include <
crm/cib.h
>
// cib_t
17
#include <
crm/pengine/pe_types.h
>
18
#include <
crm/common/xml_internal.h
>
19
#include <
crm/pengine/internal.h
>
20
#include <
pcmki/pcmki_scheduler.h
>
21
#include <
pcmki/pcmki_transition.h
>
22
#include <
pacemaker.h
>
23
24
/* Constraint helper functions */
25
GList *
pcmk__copy_node_list
(
const
GList *list,
bool
reset);
26
27
int
copies_per_node
(
pe_resource_t
* rsc);
28
29
xmlNode *
pcmk__create_history_xml
(xmlNode *
parent
,
lrmd_event_data_t
*event,
30
const
char
*caller_version,
int
target_rc,
31
const
char
*node,
const
char
*origin);
32
33
#endif
pcmk__copy_node_list
GList * pcmk__copy_node_list(const GList *list, bool reset)
Definition:
pcmk_sched_nodes.c:95
internal.h
pcmki_scheduler.h
lrmd.h
Resource agent executor.
pacemaker.h
High Level API.
pe_resource_s
Definition:
pe_types.h:346
xml_internal.h
lrmd_event_data_s
Definition:
lrmd.h:216
pcmki_transition.h
cib.h
Cluster Configuration.
pcmk__create_history_xml
xmlNode * pcmk__create_history_xml(xmlNode *parent, lrmd_event_data_t *event, const char *caller_version, int target_rc, const char *node, const char *origin)
Definition:
pcmk_sched_actions.c:1108
pe_types.h
Data types for cluster status.
parent
const char * parent
Definition:
cib.c:25
copies_per_node
int copies_per_node(pe_resource_t *rsc)
Definition:
pcmk_sched_bundle.c:368
Generated on Wed May 24 2023 12:29:25 for pacemaker by
1.8.14