|
static void | amxp_schedule_item_delete (amxc_llist_it_t *it) |
|
static int | amxp_scheduler_compare_items (amxc_llist_it_t *it1, amxc_llist_it_t *it2) |
|
static void | amxp_scheduler_reset_timer (amxp_scheduler_t *scheduler) |
|
static void | amxp_scheduler_emit (amxp_scheduler_t *scheduler, amxp_scheduler_item_t *item, const char *signal, uint32_t duration, bool trigger) |
|
static void | amxp_scheduler_item_stop (UNUSED amxp_timer_t *timer, void *priv) |
|
static void | amxp_scheduler_check_item (amxp_scheduler_t *scheduler, amxp_scheduler_item_t *item) |
|
static void | amxp_scheduler_trigger (amxp_timer_t *timer, void *priv) |
|
static void | amxp_scheduler_add_signal (amxp_scheduler_t *scheduler, const char *signal, const char *id) |
|
static void | amxp_scheduler_remove_signal (amxp_scheduler_t *scheduler, const char *signal, const char *id) |
|
static amxp_scheduler_item_t * | amxp_scheduler_create_or_fetch (amxp_scheduler_t *scheduler, const char *id, uint32_t duration) |
|
static void | amxp_scheduler_insert (amxp_scheduler_t *scheduler, const char *id, amxp_scheduler_item_t *item) |
|
int | amxp_scheduler_new (amxp_scheduler_t **scheduler) |
| Allocates a amxp_scheduler_t structures and initializes to an empty scheduler. More...
|
|
void | amxp_scheduler_delete (amxp_scheduler_t **scheduler) |
| Frees the previously allocated amxp_scheduler_t structure. More...
|
|
int | amxp_scheduler_init (amxp_scheduler_t *scheduler) |
| Initializes a amxp_scheduler_t to an empty scheduler. More...
|
|
void | amxp_scheduler_clean (amxp_scheduler_t *scheduler) |
| Cleans the scheduler. More...
|
|
int | amxp_scheduler_enable (amxp_scheduler_t *scheduler, bool enable) |
| Enables or disable the scheduler. More...
|
|
int | amxp_scheduler_use_local_time (amxp_scheduler_t *scheduler, bool use_local_time) |
| Use local time or UTC time in calculation for next trigger times. More...
|
|
int | amxp_scheduler_update (amxp_scheduler_t *scheduler) |
| Forces recalculation of the schedule items' next occurrence time. More...
|
|
int | amxp_scheduler_connect (amxp_scheduler_t *scheduler, const char *id, amxp_slot_fn_t fn, void *priv) |
| Connects a callback function to the scheduler. More...
|
|
int | amxp_scheduler_disconnect (amxp_scheduler_t *scheduler, const char *id, amxp_slot_fn_t fn) |
| Disconnects a callback function from the scheduler. More...
|
|
int | amxp_scheduler_set_cron_item (amxp_scheduler_t *scheduler, const char *id, const char *cron_expr, uint32_t duration) |
| Adds a schedule item or updates a schedule item using a cron expression. More...
|
|
int | amxp_scheduler_set_cron_begin_end_item (amxp_scheduler_t *scheduler, const char *id, const char *cron_begin, const char *cron_end) |
| Adds a schedule item or updates a schedule item using a cron expressions. More...
|
|
int | amxp_scheduler_set_weekly_item (amxp_scheduler_t *scheduler, const char *id, const char *time, const char *days_of_week, uint32_t duration) |
| Adds a schedule item or updates a schedule item using a time and list of week days. More...
|
|
int | amxp_scheduler_set_weekly_begin_end_item (amxp_scheduler_t *scheduler, const char *id, const char *start_time, const char *end_time, const char *days_of_week) |
| Adds a schedule item or updates a schedule item using a start time, end time and list of week days. More...
|
|
int | amxp_scheduler_remove_item (amxp_scheduler_t *scheduler, const char *id) |
| Removes a schedule item from the scheduler. More...
|
|
int | amxp_scheduler_enable_item (amxp_scheduler_t *scheduler, const char *id, bool enable) |
| Enables or disable a schedule item. More...
|
|
amxp_signal_mngr_t * | amxp_scheduler_get_sigmngr (amxp_scheduler_t *scheduler) |
| Gets the signal manager of a scheduler. More...
|
|