]> git.sesse.net Git - vlc/blobdiff - include/vlc_playlist.h
Make playlist_export_t a VLC object
[vlc] / include / vlc_playlist.h
index 0c63d8d678a161334d2af84bb6fc553b441c3a5a..8503635acf076deb561c9cc981b30bdb4591a2c8 100644 (file)
@@ -133,12 +133,13 @@ TYPEDEF_ARRAY(playlist_item_t*, playlist_item_array_t);
  */
 
 /** Helper structure to export to file part of the playlist */
-struct playlist_export_t
+typedef struct playlist_export_t
 {
-    char *psz_filename;
+    VLC_COMMON_MEMBERS
+    const char *psz_filename;
     FILE *p_file;
     playlist_item_t *p_root;
-};
+} playlist_export_t;
 
 /** playlist item / node */
 struct playlist_item_t