pacemaker
2.1.8-3980678f03
Scalable High-Availability cluster resource manager
|
Resource agent executor events. More...
Go to the source code of this file.
Data Structures | |
struct | lrmd_event_data_s |
Typedefs | |
typedef struct lrmd_event_data_s | lrmd_event_data_t |
Enumerations | |
enum | lrmd_callback_event { lrmd_event_register, lrmd_event_unregister, lrmd_event_exec_complete, lrmd_event_disconnect, lrmd_event_connect, lrmd_event_poke, lrmd_event_new_client } |
Functions | |
lrmd_event_data_t * | lrmd_new_event (const char *rsc_id, const char *task, guint interval_ms) |
Create a new lrmd_event_data_t object. More... | |
lrmd_event_data_t * | lrmd_copy_event (lrmd_event_data_t *event) |
void | lrmd_free_event (lrmd_event_data_t *event) |
Free an executor event. More... | |
Resource agent executor events.
Definition in file lrmd_events.h.
typedef struct lrmd_event_data_s lrmd_event_data_t |
enum lrmd_callback_event |
Enumerator | |
---|---|
lrmd_event_register | |
lrmd_event_unregister | |
lrmd_event_exec_complete | |
lrmd_event_disconnect | |
lrmd_event_connect | |
lrmd_event_poke | |
lrmd_event_new_client |
Definition at line 26 of file lrmd_events.h.
lrmd_event_data_t* lrmd_copy_event | ( | lrmd_event_data_t * | event | ) |
Definition at line 209 of file lrmd_client.c.
void lrmd_free_event | ( | lrmd_event_data_t * | event | ) |
Free an executor event.
[in,out] | Executor | event object to free |
Definition at line 248 of file lrmd_client.c.
lrmd_event_data_t* lrmd_new_event | ( | const char * | rsc_id, |
const char * | task, | ||
guint | interval_ms | ||
) |
Create a new lrmd_event_data_t object.
[in] | rsc_id | ID of resource involved in event |
[in] | task | Action name |
[in] | interval_ms | Action interval |
Definition at line 197 of file lrmd_client.c.