pacemaker  2.1.8-3980678f03
Scalable High-Availability cluster resource manager
lrmd_compat.h
Go to the documentation of this file.
1 /*
2  * Copyright 2012-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_LRMD_COMPAT__H
11 # define PCMK__CRM_LRMD_COMPAT__H
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
26 #define F_LRMD_OPERATION "lrmd_op"
28 
30 #define F_LRMD_CLIENTNAME "lrmd_clientname"
31 
33 #define F_LRMD_CALLBACK_TOKEN "lrmd_async_id"
34 
36 #define F_LRMD_IS_IPC_PROVIDER "lrmd_is_ipc_provider"
37 
39 #define F_LRMD_CLIENTID "lrmd_clientid"
40 
42 #define F_LRMD_PROTOCOL_VERSION "lrmd_protocol_version"
43 
45 #define F_LRMD_REMOTE_MSG_TYPE "lrmd_remote_msg_type"
46 
48 #define F_LRMD_REMOTE_MSG_ID "lrmd_remote_msg_id"
49 
51 #define F_LRMD_CALLID "lrmd_callid"
52 
54 #define F_LRMD_CALLOPTS "lrmd_callopt"
55 
57 #define F_LRMD_CALLDATA "lrmd_calldata"
58 
60 #define F_LRMD_RC "lrmd_rc"
61 
63 #define F_LRMD_EXEC_RC "lrmd_exec_rc"
64 
66 #define F_LRMD_OP_STATUS "lrmd_exec_op_status"
67 
69 #define F_LRMD_TIMEOUT "lrmd_timeout"
70 
72 #define F_LRMD_WATCHDOG "lrmd_watchdog"
73 
75 #define F_LRMD_CLASS "lrmd_class"
76 
78 #define F_LRMD_PROVIDER "lrmd_provider"
79 
81 #define F_LRMD_TYPE "lrmd_type"
82 
84 #define F_LRMD_ORIGIN "lrmd_origin"
85 
87 #define F_LRMD_RSC_RUN_TIME "lrmd_run_time"
88 
90 #define F_LRMD_RSC_RCCHANGE_TIME "lrmd_rcchange_time"
91 
93 #define F_LRMD_RSC_EXEC_TIME "lrmd_exec_time"
94 
96 #define F_LRMD_RSC_QUEUE_TIME "lrmd_queue_time"
97 
99 #define F_LRMD_RSC_ID "lrmd_rsc_id"
100 
102 #define F_LRMD_RSC_ACTION "lrmd_rsc_action"
103 
105 #define F_LRMD_RSC_USERDATA_STR "lrmd_rsc_userdata_str"
106 
108 #define F_LRMD_RSC_OUTPUT "lrmd_rsc_output"
109 
111 #define F_LRMD_RSC_EXIT_REASON "lrmd_rsc_exit_reason"
112 
114 #define F_LRMD_RSC_START_DELAY "lrmd_rsc_start_delay"
115 
117 #define F_LRMD_RSC_INTERVAL "lrmd_rsc_interval"
118 
120 #define F_LRMD_RSC_DELETED "lrmd_rsc_deleted"
121 
123 #define F_LRMD_RSC "lrmd_rsc"
124 
126 #define F_LRMD_ALERT_ID "lrmd_alert_id"
127 
129 #define F_LRMD_ALERT_PATH "lrmd_alert_path"
130 
132 #define F_LRMD_ALERT "lrmd_alert"
133 
135 #define F_LRMD_IPC_OP "lrmd_ipc_op"
136 
138 #define F_LRMD_IPC_IPC_SERVER "lrmd_ipc_server"
139 
141 #define F_LRMD_IPC_SESSION "lrmd_ipc_session"
142 
144 #define F_LRMD_IPC_CLIENT "lrmd_ipc_client"
145 
147 #define F_LRMD_IPC_USER "lrmd_ipc_user"
148 
150 #define F_LRMD_IPC_MSG "lrmd_ipc_msg"
151 
153 #define F_LRMD_IPC_MSG_ID "lrmd_ipc_msg_id"
154 
156 #define F_LRMD_IPC_MSG_FLAGS "lrmd_ipc_msg_flags"
157 
159 #define T_LRMD "lrmd"
160 
162 #define T_LRMD_REPLY "lrmd_reply"
163 
165 #define T_LRMD_NOTIFY "lrmd_notify"
166 
168 #define T_LRMD_IPC_PROXY "lrmd_ipc_proxy"
169 
171 #define T_LRMD_RSC_OP "lrmd_rsc_op"
172 
173 #ifdef __cplusplus
174 }
175 #endif
176 
177 #endif // PCMK__CRM_LRMD_COMPAT__H