1
2
3
4
5
6
7
8
9
10 #ifndef PCMK__PCMKI_PCMKI_SCHED_UTILS__H
11 # define PCMK__PCMKI_PCMKI_SCHED_UTILS__H
12
13 #include <stdbool.h>
14 #include <glib.h>
15 #include <crm/lrmd.h>
16 #include <crm/cib.h>
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
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