 -- Header declaration:
 --
 -- int xine_get_error (xine_stream_t *stream)
-{#fun unsafe xine_get_error
+{#fun xine_get_error
  {withStream* `Stream'} -> `XineError' cint2enum#}
 
 -- | Get current xine engine status.
 --
 -- int xine_get_status (xine_stream_t *stream)
-{#fun unsafe xine_get_status
+{#fun xine_get_status
  {withStream* `Stream'} -> `EngineStatus' cint2enum#}
 
 -- | Find the audio language of the given channel (use -1 for

-- data: special data struct for ui/driver communication
--
-- May return NULL if the driver failed to load.
{#fun unsafe xine_open_audio_driver
 {withEngine* `Engine'
 ,withMaybeString* `(Maybe String)'
 ,withData- `Data'} -> `(Maybe AudioPort)' peekAudioPort*#}

-- int xine_trick_mode (xine_stream_t *stream, int mode, int value)
--
-- Returns 1 if OK, 0 on error (use 'xine_get_error' for details).
{#fun xine_trick_mode
 {withStream* `Stream'
 ,enum2cint `TrickMode'
 ,int2cint `Int'} -> `Int' cint2int#}
