-/*****************************************************************************
- * Callbacks handling
- *****************************************************************************/
-
-/** defgroup libvlc_callbacks Callbacks
- * \ingroup libvlc
- * LibVLC Event Callbacks
- * @{
- */
-
-/**
- * Available events:
- * - libvlc_VolumeChanged
- * - libvlc_InputPositionChanged
- */
-
-typedef enum {
- libvlc_VolumeChanged,
- libvlc_InputPositionChanged,
-} libvlc_event_type_t;
-
-typedef struct
-{
- libvlc_event_type_t type;
- union
- {
- struct
- {
- int new_volume;
- } volume_changed;
- struct
- {
- vlc_int64_t new_position;
- } input_position_changed;
- } u;
-} libvlc_event_t;
-
-/**
- * Callback function notification
- * \param p_instance the libvlc instance
- * \param p_event the event triggering the callback
- * \param p_user_data user provided data
- */
-
-typedef void ( *libvlc_callback_t )( struct libvlc_instance_t *, libvlc_event_t *, void * );
-
-/**@} */
-