sout: remove constant sout_input_IsEmpty()
[vlc.git] / src / playlist / content.h
blobd0d6d3714713ccfd4fa4ab2106e72883efa5928a
1 /*****************************************************************************
2 * playlist/content.h
3 *****************************************************************************
4 * Copyright (C) 2018 VLC authors and VideoLAN
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU Lesser General Public License as published by
8 * the Free Software Foundation; either version 2.1 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this program; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
19 *****************************************************************************/
21 #ifndef VLC_PLAYLIST_CONTENT_H
22 #define VLC_PLAYLIST_CONTENT_H
24 typedef struct vlc_playlist vlc_playlist_t;
25 typedef struct input_item_t input_item_t;
27 /* called by vlc_playlist_Delete() in playlist.c */
28 void
29 vlc_playlist_ClearItems(vlc_playlist_t *playlist);
31 /* expand an item (replace it by the given media array) */
32 int
33 vlc_playlist_Expand(vlc_playlist_t *playlist, size_t index,
34 input_item_t *const media[], size_t count);
36 #endif