pacemaker
3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
include
crm
common
ipc_schedulerd.h
Go to the documentation of this file.
1
/*
2
* Copyright 2021-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_COMMON_IPC_SCHEDULERD__H
11
#define PCMK__CRM_COMMON_IPC_SCHEDULERD__H
12
13
#include <
crm/common/ipc.h
>
// pcmk_ipc_api_t
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
28
enum
pcmk_schedulerd_api_reply
{
29
pcmk_schedulerd_reply_unknown
,
30
pcmk_schedulerd_reply_graph
,
31
};
32
36
typedef
struct
{
37
enum
pcmk_schedulerd_api_reply
reply_type
;
38
39
union
{
40
// pcmk__schedulerd_reply_graph
41
struct
{
42
xmlNode *
tgraph
;
43
const
char
*
reference
;
44
const
char
*
input
;
45
} graph;
46
}
data
;
47
}
pcmk_schedulerd_api_reply_t
;
48
58
int
pcmk_schedulerd_api_graph
(
pcmk_ipc_api_t
*api, xmlNode *cib,
char
**ref);
59
60
#ifdef __cplusplus
61
}
62
#endif
63
64
#endif
// PCMK__CRM_COMMON_IPC_SCHEDULERD__H
data
char data[0]
Definition
cpg.c:10
ipc.h
IPC interface to Pacemaker daemons.
pcmk_schedulerd_api_graph
int pcmk_schedulerd_api_graph(pcmk_ipc_api_t *api, xmlNode *cib, char **ref)
Make an IPC request to the scheduler for the transition graph.
Definition
ipc_schedulerd.c:193
pcmk_schedulerd_api_reply
pcmk_schedulerd_api_reply
Possible types of schedulerd replies.
Definition
ipc_schedulerd.h:28
pcmk_schedulerd_reply_graph
@ pcmk_schedulerd_reply_graph
Definition
ipc_schedulerd.h:30
pcmk_schedulerd_reply_unknown
@ pcmk_schedulerd_reply_unknown
Definition
ipc_schedulerd.h:29
pcmk_ipc_api_s
Definition
crmcommon_private.h:295
pcmk_schedulerd_api_reply_t
Definition
ipc_schedulerd.h:36
pcmk_schedulerd_api_reply_t::tgraph
xmlNode * tgraph
Definition
ipc_schedulerd.h:42
pcmk_schedulerd_api_reply_t::reply_type
enum pcmk_schedulerd_api_reply reply_type
Definition
ipc_schedulerd.h:37
pcmk_schedulerd_api_reply_t::reference
const char * reference
Definition
ipc_schedulerd.h:43
pcmk_schedulerd_api_reply_t::input
const char * input
Definition
ipc_schedulerd.h:44
Generated on Thu Aug 7 2025 12:04:47 for pacemaker by
1.12.0