pacemaker  3.0.0-d8340737c4
Scalable High-Availability cluster resource manager
remote_internal.h
Go to the documentation of this file.
1 /*
2  * Copyright 2013-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_REMOTE_INTERNAL__H
11 #define PCMK__CRM_PENGINE_REMOTE_INTERNAL__H
12 
13 #include <glib.h> // gboolean
14 #include <libxml/tree.h> // xmlNode
15 #include <crm/pengine/status.h>
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 bool xml_contains_remote_node(xmlNode *xml);
23  const pcmk_resource_t *rsc);
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 // PCMK__CRM_PENGINE_REMOTE_INTERNAL__H
pcmk__cpg_host_t host
Definition: cpg.c:52
pcmk_resource_t * pe__resource_contains_guest_node(const pcmk_scheduler_t *scheduler, const pcmk_resource_t *rsc)
Definition: remote.c:29
xmlNode * pe_create_remote_xml(xmlNode *parent, const char *uname, const char *container_id, const char *migrateable, const char *is_managed, const char *start_timeout, const char *server, const char *port)
Definition: remote.c:128
bool xml_contains_remote_node(xmlNode *xml)
Definition: remote.c:49
Cluster status and scheduling.
void pe_foreach_guest_node(const pcmk_scheduler_t *scheduler, const pcmk_node_t *host, void(*helper)(const pcmk_node_t *, void *), void *user_data)
Definition: remote.c:85
pcmk_scheduler_t * scheduler
char uname[MAX_NAME]
Definition: cpg.c:53
const char * parent
Definition: cib.c:27