Asterisk calendar structure. More...
#include <calendar.h>
Public Member Functions | |
AST_DECLARE_STRING_FIELDS (AST_STRING_FIELD(name);AST_STRING_FIELD(notify_channel);AST_STRING_FIELD(notify_context);AST_STRING_FIELD(notify_extension);AST_STRING_FIELD(notify_app);AST_STRING_FIELD(notify_appdata);) | |
Data Fields | |
int | autoreminder |
struct ao2_container * | events |
int | notify_waittime |
int | pending_deletion:1 |
int | refresh |
struct ast_calendar_tech * | tech |
void * | tech_pvt |
pthread_t | thread |
int | timeframe |
ast_cond_t | unload |
int | unloading:1 |
Asterisk calendar structure.
Definition at line 117 of file calendar.h.
AST_DECLARE_STRING_FIELDS | ( | AST_STRING_FIELD(name);AST_STRING_FIELD(notify_channel);AST_STRING_FIELD(notify_context);AST_STRING_FIELD(notify_extension);AST_STRING_FIELD(notify_app);AST_STRING_FIELD(notify_appdata); | ) |
int autoreminder |
If set, override any calendar_tech specific notification times and use this time (in mins)
Definition at line 128 of file calendar.h.
Referenced by build_calendar(), handle_show_calendar(), and schedule_calendar_event().
struct ao2_container* events [read] |
The events that are known at this time
Definition at line 136 of file calendar.h.
Referenced by ast_calendar_clear_events(), ast_calendar_merge_events(), build_calendar(), calendar_destructor(), calendar_is_busy(), calendar_query_exec(), and handle_show_calendar().
int notify_waittime |
Maxiumum time to allow for a notification attempt
Definition at line 129 of file calendar.h.
Referenced by build_calendar(), and do_notify().
int pending_deletion |
Definition at line 135 of file calendar.h.
Referenced by build_calendar(), cb_pending_deletion(), and cb_rm_pending_deletion().
int refresh |
When to refresh the calendar events
Definition at line 130 of file calendar.h.
Referenced by build_calendar(), caldav_load_calendar(), ewscal_load_calendar(), exchangecal_load_calendar(), handle_show_calendar(), and ical_load_calendar().
struct ast_calendar_tech* tech [read] |
Definition at line 118 of file calendar.h.
Referenced by build_calendar(), calendar_destructor(), calendar_write_exec(), calendarstate(), handle_show_calendars(), and match_caltech_cb().
void* tech_pvt |
Definition at line 119 of file calendar.h.
Referenced by caldav_load_calendar(), caldav_write_event(), calendar_destructor(), ewscal_load_calendar(), ewscal_write_event(), exchangecal_load_calendar(), exchangecal_write_event(), and ical_load_calendar().
pthread_t thread |
The thread that the calendar is loaded/updated in
Definition at line 132 of file calendar.h.
Referenced by build_calendar(), and calendar_destructor().
int timeframe |
Span (in mins) of calendar data to pull with each request
Definition at line 131 of file calendar.h.
Referenced by build_calendar(), get_ewscal_ids_for(), handle_show_calendar(), icalendar_update_events(), update_caldav(), and update_exchangecal().
Definition at line 133 of file calendar.h.
Referenced by build_calendar(), caldav_load_calendar(), calendar_destructor(), ewscal_load_calendar(), exchangecal_load_calendar(), and ical_load_calendar().
int unloading |
Definition at line 134 of file calendar.h.
Referenced by caldav_load_calendar(), calendar_destructor(), ewscal_load_calendar(), exchangecal_load_calendar(), and ical_load_calendar().