19 #ifndef _ASTERISK_CALENDAR_H 20 #define _ASTERISK_CALENDAR_H 75 void *(* load_calendar)(
void *data);
76 void *(* unref_calendar)(
void *obj);
int fetch_again_at_reload
Main Channel structure associated with a channel.
Asterisk locking-related definitions:
int ast_calendar_register(struct ast_calendar_tech *tech)
Register a new calendar technology.
Asterisk main include file. File version handling, generic pbx functions.
const struct ast_calendar_tech * tech
Main dialing structure. Contains global options, channels being dialed, and more! ...
struct ast_variable * vars
struct ast_calendar_attendee * next
Structure for variables, used for configurations and for channel variables.
struct ast_calendar_tech::@239 list
struct ast_module_user * user
#define AST_DECLARE_STRING_FIELDS(field_list)
Declare the fields needed in a structure.
pthread_cond_t ast_cond_t
void ast_calendar_clear_events(struct ast_calendar *cal)
Remove all events from calendar.
struct ast_channel * notify_chan
void ast_calendar_merge_events(struct ast_calendar *cal, struct ao2_container *new_events)
Add an event to the list of events for a calendar.
Configuration File Parser.
struct ao2_container * ast_calendar_event_container_alloc(void)
Allocate an astobj2 container for ast_calendar_event objects.
#define AST_STRING_FIELD(name)
Declare a string field.
A set of macros to manage forward-linked lists.
AST_LIST_HEAD_NOLOCK(contactliststruct, contact)
struct ao2_container * events
struct ast_calendar_event * ast_calendar_event_alloc(struct ast_calendar *cal)
Allocate an astobj2 ast_calendar_event object.
struct association categories[]
#define AST_LIST_ENTRY(type)
Declare a forward link structure inside a list entry.
struct ast_calendar * owner
const struct ast_config * ast_calendar_config_acquire(void)
Grab and lock pointer to the calendar config (read only)
struct ast_calendar_event * ast_calendar_unref_event(struct ast_calendar_event *event)
Unreference an ast_calendar_event.
int(* is_busy)(struct ast_calendar *calendar)
unsigned int pending_deletion
void ast_calendar_unregister(struct ast_calendar_tech *tech)
Unregister a new calendar technology.
Individual calendaring technology data.
static int notify_channel(void *obj)
Asterisk calendar structure.
void ast_calendar_config_release(void)
Release the calendar config.
int(* write_event)(struct ast_calendar_event *event)
Asterisk module definitions.