41
41
/** @enum conference_state_t
42
42
* This enum have all the states a conference can take.
46
CONFERENCE_STATE_ACTIVE_ATACHED = 0,
47
CONFERENCE_STATE_ACTIVE_DETACHED,
48
CONFERENCE_STATE_RECORD,
45
CONFERENCE_STATE_ACTIVE_ATACHED = 0,
46
CONFERENCE_STATE_ACTIVE_DETACHED,
47
CONFERENCE_STATE_RECORD,
50
49
} conference_state_t;
59
58
conference_state_t _state; // The state of the call
60
gchar* _confID; // The call ID
59
gchar *_confID; // The call ID
61
60
gboolean _conference_secured; // the security state of the conference
62
61
gboolean _conf_srtp_enabled; // security required for this conference
63
GSList* participant_list; // participant list for this
62
GSList *participant_list; // participant list for this
63
GtkWidget *_im_widget; // associated instant messaging widget
65
65
} conference_obj_t;
67
conference_obj_t* create_new_conference (conference_state_t, const gchar*, conference_obj_t **);
67
void create_new_conference (conference_state_t, const gchar*, conference_obj_t **);
69
conference_obj_t* create_new_conference_from_details (const gchar *, GHashTable *, conference_obj_t **);
69
void create_new_conference_from_details (const gchar *, GHashTable *, conference_obj_t **);
71
71
void free_conference_obj_t (conference_obj_t *c);
74
* GCompareFunc to compare a confID (gchar* and a callable_obj_t)
74
* GCompareFunc to compare a confID (gchar* and a callable_obj_t)
76
gint is_confID_confstruct ( gconstpointer, gconstpointer);
78
void conference_add_participatn(const gchar*, conference_obj_t *);
80
void conference_remove_participant(const gchar*, conference_obj_t *);
82
GSList* conference_next_participant(GSList* participant);
84
GSList* conference_participant_list_update(gchar**, conference_obj_t*);
76
gint is_confID_confstruct (gconstpointer, gconstpointer);
78
void conference_add_participatn (const gchar*, conference_obj_t *);
80
void conference_remove_participant (const gchar*, conference_obj_t *);
82
GSList* conference_next_participant (GSList* participant);
84
void conference_participant_list_update (gchar**, conference_obj_t*);