void conf_default_leave_waitmarked(struct confbridge_user *user)
Logic to execute every time a waitmarked user leaves an unmarked conference.
void(* conference_entry_fn)(struct confbridge_user *user)
void conf_change_state(struct confbridge_user *user, struct confbridge_state *newstate)
Execute conference state transition because of a user action.
void(* conference_exit_fn)(struct confbridge_user *user)
struct confbridge_state * CONF_STATE_MULTI_MARKED
Conference state with multiple active users and at least one marked user.
struct confbridge_state * CONF_STATE_EMPTY
Conference state with no active or waiting users.
struct confbridge_state * CONF_STATE_MULTI
Conference state with multiple active users, but no marked users.
void conf_default_join_waitmarked(struct confbridge_user *user)
Logic to execute every time a waitmarked user joins an unmarked conference.
void(* conference_event_fn)(struct confbridge_user *user)
void conf_invalid_event_fn(struct confbridge_user *user)
A handler for join/leave events that are invalid in a particular state.
struct confbridge_state * CONF_STATE_INACTIVE
Conference state with only waiting users.
struct confbridge_state * CONF_STATE_SINGLE_MARKED
Conference state with only a single marked active user.
struct confbridge_state * CONF_STATE_SINGLE
Conference state with only a single unmarked active user.
The structure that represents a conference bridge.
A conference state object to hold the various state callback functions.
conference_event_fn join_unmarked
conference_event_fn join_waitmarked
conference_entry_fn entry
conference_event_fn leave_waitmarked
conference_event_fn leave_marked
conference_event_fn leave_unmarked
conference_event_fn join_marked
The structure that represents a conference bridge user.
structure to hold users read from users.conf