]> git.sesse.net Git - vlc/blobdiff - include/vlc_devices.h
cdda/info: fix memleaks.
[vlc] / include / vlc_devices.h
index 78b6c7ad4470188715982afc7e83c9e099b432b8..dd5279e1278dbf9b1fa10e6e6eedf2bcdc5c5c1a 100644 (file)
@@ -2,7 +2,7 @@
  * vlc_devices.h : Devices handling
  *****************************************************************************
  * Copyright (C) 1999-2006 the VideoLAN team
- * $Id: vlc_input.h 15915 2006-06-15 21:22:35Z zorglub $
+ * $Id$
  *
  * Authors: ClĂ©ment Stenac <zorglub@videolan.org>
  *
@@ -41,9 +41,23 @@ struct device_t
 {
     int             i_capabilities;
     int             i_media_type;
+    bool      b_seen;
     char *psz_uri;
-    char *psz_media_name;
+    char *psz_name;
 };
 
-static inline void device_GetDVD()
-{}
+struct device_probe_t
+{
+    VLC_COMMON_MEMBERS;
+    int         i_devices;
+    device_t  **pp_devices;
+
+    probe_sys_t *p_sys;
+    void      ( *pf_run )    ( device_probe_t * );  /** Run function */
+};
+
+static inline void device_GetDVD(void)
+{
+}
+
+#endif