1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 #ifndef XML_FSA_PROTO__H
20 # define XML_FSA_PROTO__H
21
22 extern xmlNode *do_lrm_query(gboolean, const char *node_name);
23
24
25 void
26
27 do_read_config(long long action,
28 enum crmd_fsa_cause cause,
29 enum crmd_fsa_state cur_state,
30 enum crmd_fsa_input current_input, fsa_data_t * msg_data);
31
32
33 void
34
35 do_pe_invoke(long long action,
36 enum crmd_fsa_cause cause,
37 enum crmd_fsa_state cur_state,
38 enum crmd_fsa_input current_input, fsa_data_t * msg_data);
39
40
41 void
42
43 do_error(long long action,
44 enum crmd_fsa_cause cause,
45 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
46
47
48 void
49
50 do_log(long long action,
51 enum crmd_fsa_cause cause,
52 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
53
54
55 void
56
57 do_startup(long long action,
58 enum crmd_fsa_cause cause,
59 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
60
61
62 void
63
64 do_cib_control(long long action,
65 enum crmd_fsa_cause cause,
66 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
67
68
69 void
70
71 do_ha_control(long long action,
72 enum crmd_fsa_cause cause,
73 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
74
75
76 void
77
78 do_ccm_control(long long action,
79 enum crmd_fsa_cause cause,
80 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
81
82
83 void
84
85 do_lrm_control(long long action,
86 enum crmd_fsa_cause cause,
87 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
88
89
90 void
91
92 do_pe_control(long long action,
93 enum crmd_fsa_cause cause,
94 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
95
96
97 void
98
99 do_te_control(long long action,
100 enum crmd_fsa_cause cause,
101 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
102
103
104 void
105
106 do_started(long long action,
107 enum crmd_fsa_cause cause,
108 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
109
110
111 void
112
113 do_msg_route(long long action,
114 enum crmd_fsa_cause cause,
115 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
116
117
118 void
119
120 do_recover(long long action,
121 enum crmd_fsa_cause cause,
122 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
123
124
125 void
126
127 do_election_vote(long long action,
128 enum crmd_fsa_cause cause,
129 enum crmd_fsa_state cur_state,
130 enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
131
132
133 void
134
135 do_election_count_vote(long long action,
136 enum crmd_fsa_cause cause,
137 enum crmd_fsa_state cur_state,
138 enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
139
140
141 void
142
143 do_election_check(long long action,
144 enum crmd_fsa_cause cause,
145 enum crmd_fsa_state cur_state,
146 enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
147
148
149 void
150
151 do_election_timer_ctrl(long long action,
152 enum crmd_fsa_cause cause,
153 enum crmd_fsa_state cur_state,
154 enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
155
156
157 void
158
159 do_timer_control(long long action,
160 enum crmd_fsa_cause cause,
161 enum crmd_fsa_state cur_state,
162 enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
163
164 # if SUPPORT_HEARTBEAT
165
166 void do_ccm_update_cache(enum crmd_fsa_cause cause, enum crmd_fsa_state cur_state,
167 oc_ed_t event, const oc_ev_membership_t * oc, xmlNode * xml);
168 # endif
169
170
171 void
172
173 do_ccm_event(long long action,
174 enum crmd_fsa_cause cause,
175 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
176
177
178 void
179
180 do_dc_takeover(long long action,
181 enum crmd_fsa_cause cause,
182 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
183
184
185 void
186
187 do_dc_release(long long action,
188 enum crmd_fsa_cause cause,
189 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
190
191
192 void
193
194 do_dc_join_offer_all(long long action,
195 enum crmd_fsa_cause cause,
196 enum crmd_fsa_state cur_state,
197 enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
198
199
200 void
201
202 do_dc_join_offer_one(long long action,
203 enum crmd_fsa_cause cause,
204 enum crmd_fsa_state cur_state,
205 enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
206
207
208 void
209
210 do_dc_join_ack(long long action,
211 enum crmd_fsa_cause cause,
212 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
213
214
215 void
216
217 do_dc_join_filter_offer(long long action,
218 enum crmd_fsa_cause cause,
219 enum crmd_fsa_state cur_state,
220 enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
221
222
223 void
224
225 do_dc_join_finalize(long long action,
226 enum crmd_fsa_cause cause,
227 enum crmd_fsa_state cur_state,
228 enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
229
230
231
232 void
233
234 do_cl_join_query(long long action,
235 enum crmd_fsa_cause cause,
236 enum crmd_fsa_state cur_state,
237 enum crmd_fsa_input current_input, fsa_data_t * msg_data);
238
239
240 void
241
242 do_cl_join_announce(long long action,
243 enum crmd_fsa_cause cause,
244 enum crmd_fsa_state cur_state,
245 enum crmd_fsa_input current_input, fsa_data_t * msg_data);
246
247
248 void
249
250 do_cl_join_offer_respond(long long action,
251 enum crmd_fsa_cause cause,
252 enum crmd_fsa_state cur_state,
253 enum crmd_fsa_input current_input, fsa_data_t * msg_data);
254
255
256 void
257
258 do_cl_join_finalize_respond(long long action,
259 enum crmd_fsa_cause cause,
260 enum crmd_fsa_state cur_state,
261 enum crmd_fsa_input current_input, fsa_data_t * msg_data);
262
263
264 void
265
266 do_update_node_status(long long action,
267 enum crmd_fsa_cause cause,
268 enum crmd_fsa_state cur_state,
269 enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
270
271
272 void
273
274 do_lrm_invoke(long long action,
275 enum crmd_fsa_cause cause,
276 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
277
278
279 void
280
281 do_lrm_event(long long action,
282 enum crmd_fsa_cause cause,
283 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
284
285
286 void
287
288 do_pe_invoke(long long action,
289 enum crmd_fsa_cause cause,
290 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
291
292
293 void
294
295 do_te_invoke(long long action,
296 enum crmd_fsa_cause cause,
297 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
298
299
300 void
301
302 do_te_copyto(long long action,
303 enum crmd_fsa_cause cause,
304 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
305
306
307 void
308
309 do_shutdown_req(long long action,
310 enum crmd_fsa_cause cause,
311 enum crmd_fsa_state cur_state,
312 enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
313
314
315 void
316
317 do_shutdown(long long action,
318 enum crmd_fsa_cause cause,
319 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
320
321
322 void
323
324 do_stop(long long action,
325 enum crmd_fsa_cause cause,
326 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
327
328
329 void
330
331 do_exit(long long action,
332 enum crmd_fsa_cause cause,
333 enum crmd_fsa_state cur_state, enum crmd_fsa_input cur_input, fsa_data_t * msg_data);
334
335 void
336
337 do_dc_join_final(long long action,
338 enum crmd_fsa_cause cause,
339 enum crmd_fsa_state cur_state,
340 enum crmd_fsa_input current_input, fsa_data_t * msg_data);
341
342 #endif