Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
ast_calendar Struct Reference

Asterisk calendar structure. More...

#include <calendar.h>

Collaboration diagram for ast_calendar:
Collaboration graph
[legend]

Data Fields

struct ast_string_field_mgr __field_mgr
 
struct ast_string_field_pool__field_mgr_pool
 
int autoreminder
 
struct ao2_containerevents
 
int fetch_again_at_reload
 
const ast_string_field name
 
const ast_string_field notify_app
 
const ast_string_field notify_appdata
 
const ast_string_field notify_channel
 
const ast_string_field notify_context
 
const ast_string_field notify_extension
 
int notify_waittime
 
unsigned int pending_deletion:1
 
int refresh
 
const struct ast_calendar_techtech
 
void * tech_pvt
 
pthread_t thread
 
int timeframe
 
ast_cond_t unload
 
unsigned int unloading:1
 
struct ast_variablevars
 

Detailed Description

Asterisk calendar structure.

Definition at line 119 of file calendar.h.

Field Documentation

◆ __field_mgr

struct ast_string_field_mgr __field_mgr

Definition at line 129 of file calendar.h.

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

Definition at line 129 of file calendar.h.

◆ autoreminder

int autoreminder

If set, override any calendar_tech specific notification times and use this time (in mins)

Definition at line 131 of file calendar.h.

Referenced by build_calendar(), handle_show_calendar(), and schedule_calendar_event().

◆ events

struct ao2_container* events

◆ fetch_again_at_reload

int fetch_again_at_reload

To reload the calendar content when the module is reloaded

Definition at line 134 of file calendar.h.

Referenced by build_calendar().

◆ name

const ast_string_field name

◆ notify_app

const ast_string_field notify_app

Definition at line 129 of file calendar.h.

Referenced by handle_show_calendar().

◆ notify_appdata

const ast_string_field notify_appdata

Definition at line 129 of file calendar.h.

Referenced by handle_show_calendar().

◆ notify_channel

const ast_string_field notify_channel

Definition at line 129 of file calendar.h.

Referenced by build_calendar(), handle_show_calendar(), and schedule_calendar_event().

◆ notify_context

const ast_string_field notify_context

Definition at line 129 of file calendar.h.

Referenced by handle_show_calendar().

◆ notify_extension

const ast_string_field notify_extension

Definition at line 129 of file calendar.h.

Referenced by handle_show_calendar().

◆ notify_waittime

int notify_waittime

Maxiumum time to allow for a notification attempt

Definition at line 132 of file calendar.h.

Referenced by build_calendar().

◆ pending_deletion

unsigned int pending_deletion

Definition at line 139 of file calendar.h.

Referenced by build_calendar(), cb_pending_deletion(), and cb_rm_pending_deletion().

◆ refresh

int refresh

When to refresh the calendar events

Definition at line 133 of file calendar.h.

Referenced by build_calendar(), caldav_load_calendar(), ewscal_load_calendar(), exchangecal_load_calendar(), handle_show_calendar(), and ical_load_calendar().

◆ tech

const struct ast_calendar_tech* tech

◆ tech_pvt

void* tech_pvt

Name from config file [name] Channel to use for notification Optional context to execute from for notification Optional extension to execute from for notification Optional dialplan app to execute for notification Optional arguments for dialplan app

Definition at line 121 of file calendar.h.

Referenced by caldav_load_calendar(), caldav_write_event(), calendar_destructor(), ewscal_load_calendar(), ewscal_write_event(), exchangecal_load_calendar(), and ical_load_calendar().

◆ thread

pthread_t thread

The thread that the calendar is loaded/updated in

Definition at line 136 of file calendar.h.

Referenced by build_calendar(), and calendar_destructor().

◆ timeframe

int timeframe

Span (in mins) of calendar data to pull with each request

Definition at line 135 of file calendar.h.

Referenced by build_calendar(), get_ewscal_ids_for(), handle_show_calendar(), icalendar_update_events(), update_caldav(), and update_exchangecal().

◆ unload

ast_cond_t unload

◆ unloading

unsigned int unloading

◆ vars

struct ast_variable* vars

Channel variables to pass to notification channel

Definition at line 130 of file calendar.h.

Referenced by build_calendar(), and calendar_destructor().


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