1
2
3
4
5
6
7
8
9
10 #ifndef PE_REMOTE__H
11 # define PE_REMOTE__H
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
17 #include <glib.h>
18 #include <libxml/tree.h>
19 #include <crm/pengine/status.h>
20
21 bool xml_contains_remote_node(xmlNode *xml);
22 pcmk_resource_t *pe__resource_contains_guest_node(const pcmk_scheduler_t *scheduler,
23 const pcmk_resource_t *rsc);
24 void pe_foreach_guest_node(const pcmk_scheduler_t *scheduler,
25 const pcmk_node_t *host,
26 void (*helper)(const pcmk_node_t*, void*),
27 void *user_data);
28 xmlNode *pe_create_remote_xml(xmlNode *parent, const char *uname,
29 const char *container_id, const char *migrateable,
30 const char *is_managed, const char *start_timeout,
31 const char *server, const char *port);
32
33 #ifdef __cplusplus
34 }
35 #endif
36
37 #endif