Revision d97e0296 events.h

View differences:

events.h
18 18

  
19 19
/*! \brief Initialize the event handlers broadcaster
20 20
 * @param[in] enabled Whether broadcasting events should be supported at all
21
 * @param[in] handlers Map of all registered event handlers */
22
void janus_events_init(gboolean enabled, GHashTable *handlers);
21
 * @param[in] handlers Map of all registered event handlers
22
 * @returns 0 on success, a negative integer otherwise */
23
int janus_events_init(gboolean enabled, GHashTable *handlers);
24

  
25
/*! \brief De-initialize the event handlers broadcaster */
26
void janus_events_deinit(void);
23 27

  
24 28
/*! \brief Quick method to check whether event handlers are enabled at all or not
25 29
 * @returns TRUE if they're enabled, FALSE if not */

Also available in: Unified diff