Revision 1d31e31f events.h

View differences:

events.h
17 17
#include "events/eventhandler.h"
18 18

  
19 19
/*! \brief Initialize the event handlers broadcaster
20
 * @param[in] eventhandlers Map of all registered event handlers */
21
void janus_events_init(GHashTable *eventhandlers);
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);
23

  
24
/*! \brief Quick method to check whether event handlers are enabled at all or not
25
 * @returns TRUE if they're enabled, FALSE if not */
26
gboolean janus_events_is_enabled(void);
22 27

  
23 28
/*! \brief Notify an event to all interested handlers
24 29
 * @note According to the type of event to notify, different arguments may

Also available in: Unified diff