X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_vlm.h;h=007d69bd2474e780bb69741d24a0d8b35e766c1f;hb=9774639988d1fb1bd22a3bed99866a461a98353b;hp=ed3bacac5ac23298c7e6c6e5327b46b363e89278;hpb=dd153084fa81d69ec94332d91b64f82590e96c8a;p=vlc diff --git a/include/vlc_vlm.h b/include/vlc_vlm.h index ed3bacac5a..007d69bd24 100644 --- a/include/vlc_vlm.h +++ b/include/vlc_vlm.h @@ -46,7 +46,7 @@ typedef struct } vlm_media_instance_t; -typedef struct +struct vlm_media_t { vlc_bool_t b_enabled; int i_type; @@ -76,10 +76,10 @@ typedef struct int i_instance; vlm_media_instance_t **instance; -} vlm_media_t; +}; -typedef struct +struct vlm_schedule_t { /* names "schedule" is reserved */ char *psz_name; @@ -97,7 +97,7 @@ typedef struct i_repeat < 0 : endless repeat */ int i_repeat; -} vlm_schedule_t; +}; /* ok, here is the structure of a vlm_message: The parent node is ( name_of_the_command , NULL ), or @@ -134,6 +134,16 @@ struct vlm_t VLC_EXPORT( vlm_t *, __vlm_New, ( vlc_object_t * ) ); VLC_EXPORT( void, vlm_Delete, ( vlm_t * ) ); VLC_EXPORT( int, vlm_ExecuteCommand, ( vlm_t *, char *, vlm_message_t ** ) ); -VLC_EXPORT( void, vlm_MessageDelete, ( vlm_message_t* ) ); +VLC_EXPORT( void, vlm_MessageDelete, ( vlm_message_t * ) ); +VLC_EXPORT( vlm_media_t *, vlm_MediaNew, ( vlm_t *, char *, int ) ); +VLC_EXPORT( void, vlm_MediaDelete, ( vlm_t *, vlm_media_t *, char * ) ); +VLC_EXPORT( int, vlm_MediaSetup, ( vlm_t *, vlm_media_t *, char *, char * ) ); +VLC_EXPORT( int, vlm_MediaControl, ( vlm_t *, vlm_media_t *, char *, char *, char * ) ); +VLC_EXPORT( vlm_schedule_t *, vlm_ScheduleNew, ( vlm_t *, char * ) ); +VLC_EXPORT( void, vlm_ScheduleDelete, ( vlm_t *, vlm_schedule_t *, char * ) ); +VLC_EXPORT( int, vlm_ScheduleSetup, ( vlm_schedule_t *, char *, char * ) ); +VLC_EXPORT( int, vlm_MediaVodControl, ( void *, vod_media_t *, char *, int, va_list ) ); +VLC_EXPORT( int, vlm_Save, ( vlm_t *, char * ) ); +VLC_EXPORT( int, vlm_Load, ( vlm_t *, char * ) ); #endif