Revision 1d31e31f plugins/plugin.h

View differences:

plugins/plugin.h
154 154
#include <unistd.h>
155 155
#include <inttypes.h>
156 156

  
157
#include <glib.h>
157 158
#include <jansson.h>
158 159

  
159 160

  
......
364 365
	 * @param[in] handle The plugin/gateway session to get rid of */
365 366
	void (* const end_session)(janus_plugin_session *handle);
366 367

  
368
	/*! \brief Callback to check whether the event handlers mechanism is enabled
369
	 * @returns TRUE if it is, FALSE if it isn't (which means notify_event should NOT be called) */
370
	gboolean (* const events_is_enabled)(void);
367 371
	/*! \brief Callback to notify an event to the registered and subscribed event handlers
368 372
	 * \note Don't unref the event object, the core will do that for you
369 373
	 * @param[in] handle The plugin/gateway session originating the event

Also available in: Unified diff