Mon Aug 31 12:30:48 2015

Asterisk developer's documentation


ast_calendar Struct Reference

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_containerevents
int notify_waittime
int pending_deletion:1
int refresh
struct ast_calendar_techtech
void * tech_pvt
pthread_t thread
int timeframe
ast_cond_t unload
int unloading:1

Detailed Description

Asterisk calendar structure.

Definition at line 117 of file calendar.h.


Member Function Documentation

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);   ) 

Field Documentation

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]

Maxiumum time to allow for a notification attempt

Definition at line 129 of file calendar.h.

Referenced by build_calendar(), and do_notify().

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]
void* tech_pvt
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().

int unloading

The documentation for this struct was generated from the following file:

Generated on 31 Aug 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.6.1