1 /*****************************************************************************
2 * vlm_internal.h: Internal vlm structures
3 *****************************************************************************
4 * Copyright (C) 1998-2006 the VideoLAN team
7 * Authors: Laurent Aimar <fenrir@via.ecp.fr>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22 *****************************************************************************/
24 #ifndef _VLM_INTERNAL_H
25 #define _VLM_INTERNAL_H 1
42 /* "playlist" index */
46 input_thread_t *p_input;
48 } vlm_media_instance_t;
55 /* name "media" is reserved */
68 /* only for broadcast */
72 vod_media_t *vod_media;
76 /* actual input instances */
78 vlm_media_instance_t **instance;
83 /* names "schedule" is reserved */
86 /* list of commands to execute on date */
90 /* the date of 1st execution */
93 /* if != 0 repeat schedule every (period) */
95 /* number of times you have to repeat
96 i_repeat < 0 : endless repeat */
114 vlm_schedule_t **schedule;
117 vlm_media_t *vlm_MediaNew( vlm_t *, const char *, int );
118 void vlm_MediaDelete( vlm_t *, vlm_media_t *, const char * );
119 int vlm_MediaSetup( vlm_t *, vlm_media_t *, const char *, const char * );
120 int vlm_MediaControl( vlm_t *, vlm_media_t *, const char *, const char *, const char * );
121 vlm_media_t *vlm_MediaSearch( vlm_t *, const char *);