pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
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
16extern "C" {
17#endif
18
32
36typedef struct {
38
39 union {
40 // pcmk__schedulerd_reply_graph
41 struct {
42 xmlNode *tgraph;
43 const char *reference;
44 const char *input;
45 } graph;
48
58int 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
char data[0]
Definition cpg.c:10
IPC interface to Pacemaker daemons.
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.
pcmk_schedulerd_api_reply
Possible types of schedulerd replies.
@ pcmk_schedulerd_reply_graph
@ pcmk_schedulerd_reply_unknown
enum pcmk_schedulerd_api_reply reply_type