X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Finput%2Fvlm_internal.h;h=a751cf3f81f26a7e77b247d67715ddae334ed79b;hb=5d6c8137d529c3efb773339d65367c954251eb43;hp=4896e52c797832af272ab4512343ddfcd3836b03;hpb=6ee1e193fd896ab9a4729fde14f009d9ce629815;p=vlc diff --git a/src/input/vlm_internal.h b/src/input/vlm_internal.h index 4896e52c79..a751cf3f81 100644 --- a/src/input/vlm_internal.h +++ b/src/input/vlm_internal.h @@ -21,6 +21,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ +#if defined(__PLUGIN__) || defined(__BUILTIN__) || !defined(__LIBVLC__) +# error This header file can only be included from LibVLC. +#endif + #ifndef _VLM_INTERNAL_H #define _VLM_INTERNAL_H 1 @@ -35,9 +39,9 @@ typedef struct /* "playlist" index */ int i_index; - vlc_bool_t b_sout_keep; + bool b_sout_keep; - input_item_t item; + input_item_t *p_item; input_thread_t *p_input; sout_instance_t *p_sout; @@ -50,7 +54,7 @@ typedef struct struct { - input_item_t item; + input_item_t *p_item; vod_media_t *p_media; } vod; @@ -63,7 +67,7 @@ typedef struct { /* names "schedule" is reserved */ char *psz_name; - vlc_bool_t b_enabled; + bool b_enabled; /* list of commands to execute on date */ int i_command; char **command; @@ -101,4 +105,9 @@ struct vlm_t vlm_schedule_sys_t **schedule; }; +int64_t vlm_Date(void); +int vlm_ControlInternal( vlm_t *p_vlm, int i_query, ... ); +int ExecuteCommand( vlm_t *, const char *, vlm_message_t ** ); +void vlm_ScheduleDelete( vlm_t *vlm, vlm_schedule_sys_t *sched ); + #endif