playlist_ItemGetByInputId now included in libvlc
authorFilippo Carone <littlejohn@videolan.org>
Sun, 11 Feb 2007 21:18:13 +0000 (21:18 +0000)
committerFilippo Carone <littlejohn@videolan.org>
Sun, 11 Feb 2007 21:18:13 +0000 (21:18 +0000)
include/vlc_playlist.h
include/vlc_symbols.h
src/libvlc.sym
src/playlist/playlist_internal.h

index 860759b..c139ccb 100644 (file)
@@ -382,8 +382,9 @@ playlist_item_t *playlist_ItemFindFromInputAndRoot( playlist_t *p_playlist,
                                    vlc_bool_t );
 
 /********************************** Item search *************************/
-VLC_EXPORT( playlist_item_t *, playlist_ItemGetById, (playlist_t *, int, vlc_bool_t) );
+VLC_EXPORT( playlist_item_t *, playlist_ItemGetById, (playlist_t *, int, vlc_bool_t ) );
 VLC_EXPORT( playlist_item_t *, playlist_ItemGetByInput, (playlist_t *,input_item_t *, vlc_bool_t ) );
+VLC_EXPORT( playlist_item_t *, playlist_ItemGetByInputId, (playlist_t *, int, playlist_item_t *) );
 
 VLC_EXPORT( int, playlist_LiveSearchUpdate, (playlist_t *, playlist_item_t *, const char *) );
 
index 5248c0b..0e9461b 100644 (file)
@@ -245,6 +245,7 @@ struct module_symbols_t
     playlist_item_t* (*playlist_ItemToNode_inner) (playlist_t *,playlist_item_t *, vlc_bool_t);
     playlist_item_t * (*playlist_ItemGetById_inner) (playlist_t *, int, vlc_bool_t);
     playlist_item_t * (*playlist_ItemGetByInput_inner) (playlist_t *,input_item_t *, vlc_bool_t);
+    playlist_item_t * (*playlist_ItemGetByInputId_inner) (playlist_t *, int, playlist_item_t *);
     int (*playlist_RecursiveNodeSort_inner) (playlist_t *, playlist_item_t *,int, int);
     int (*playlist_Export_inner) (playlist_t *p_playlist, const char *psz_name, playlist_item_t *p_export_root, const char *psz_type);
     spu_t * (*__spu_Create_inner) (vlc_object_t *);
@@ -681,6 +682,7 @@ struct module_symbols_t
 #  define playlist_ItemToNode (p_symbols)->playlist_ItemToNode_inner
 #  define playlist_ItemGetById (p_symbols)->playlist_ItemGetById_inner
 #  define playlist_ItemGetByInput (p_symbols)->playlist_ItemGetByInput_inner
+#  define playlist_ItemGetByInputId (p_symbols)->playlist_ItemGetByInputId_inner
 #  define playlist_RecursiveNodeSort (p_symbols)->playlist_RecursiveNodeSort_inner
 #  define playlist_Export (p_symbols)->playlist_Export_inner
 #  define __spu_Create (p_symbols)->__spu_Create_inner
@@ -1120,6 +1122,7 @@ struct module_symbols_t
     ((p_symbols)->playlist_ItemToNode_inner) = playlist_ItemToNode; \
     ((p_symbols)->playlist_ItemGetById_inner) = playlist_ItemGetById; \
     ((p_symbols)->playlist_ItemGetByInput_inner) = playlist_ItemGetByInput; \
+    ((p_symbols)->playlist_ItemGetByInputId_inner) = playlist_ItemGetByInputId; \
     ((p_symbols)->playlist_RecursiveNodeSort_inner) = playlist_RecursiveNodeSort; \
     ((p_symbols)->playlist_Export_inner) = playlist_Export; \
     ((p_symbols)->__spu_Create_inner) = __spu_Create; \
index 749071d..e256dbf 100644 (file)
@@ -203,6 +203,7 @@ playlist_GetPreferredNode
 playlist_IsServicesDiscoveryLoaded
 playlist_ItemGetById
 playlist_ItemGetByInput
+playlist_ItemGetByInputId
 __playlist_ItemNewFromInput
 playlist_ItemNewWithType
 playlist_ItemSetName
index cbc4bab..e82b677 100644 (file)
@@ -110,8 +110,6 @@ playlist_item_t *playlist_GetLastLeaf( playlist_t *p_playlist,
 int playlist_DeleteFromItemId( playlist_t*, int );
 int playlist_ItemDelete ( playlist_item_t * );
 
-playlist_item_t *playlist_ItemGetByInputId( playlist_t*, int, playlist_item_t*);
-
 /**
  * @}
  */