]> git.sesse.net Git - vlc/blobdiff - include/vlc/libvlc.h
libvlc_wait: wait until libvlc is killed by an interface
[vlc] / include / vlc / libvlc.h
index 9d5a3db40b9155efb42852106f65bb8cd45f3900..cd81feaa89679f3bdfbb373756fb1a53fc9a07cb 100644 (file)
@@ -157,6 +157,15 @@ VLC_PUBLIC_API
 void libvlc_run_interface( libvlc_instance_t *p_instance, const char *name,
                            libvlc_exception_t *p_exception );
 
+/**
+ * Waits until an interface causes the instance to exit.
+ * You should start at least one interface first, using libvlc_add_intf().
+ *
+ * \param p_instance the instance
+ */
+VLC_PUBLIC_API
+void libvlc_wait( libvlc_instance_t *p_instance );
+
 /**
  * Retrieve libvlc version.
  *