X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Finput%2Finput_interface.h;h=7f7347d5765ececc7d4fb669c6959f351bb9b77e;hb=daa556bc3b195e09017685044c4c953f3da5fb56;hp=e1139440a22acacdc9177a5e286ad6680daecc91;hpb=604115295431529b06812fc7598fae25c633188b;p=vlc diff --git a/src/input/input_interface.h b/src/input/input_interface.h index e1139440a2..7f7347d576 100644 --- a/src/input/input_interface.h +++ b/src/input/input_interface.h @@ -1,5 +1,5 @@ /***************************************************************************** - * input_interface.h: Input functions usable ouside input code. + * input_interface.h: Input functions usable outside input code. ***************************************************************************** * Copyright (C) 1998-2008 the VideoLAN team * $Id$ @@ -37,6 +37,8 @@ void input_item_SetPreparsed( input_item_t *p_i, bool b_preparsed ); void input_item_SetArtNotFound( input_item_t *p_i, bool b_not_found ); void input_item_SetArtFetched( input_item_t *p_i, bool b_art_fetched ); +void input_item_SetEpg( input_item_t *p_item, const vlc_epg_t *p_epg ); +void input_item_SetEpgOffline( input_item_t * ); int input_Preparse( vlc_object_t *, input_item_t * ); @@ -45,44 +47,23 @@ int input_Preparse( vlc_object_t *, input_item_t * ); input_stats_t *stats_NewInputStats( input_thread_t *p_input ); /** - * This defines an opaque input ressource handler. + * This function deletes the current sout in the resources. */ -typedef struct input_ressource_t input_ressource_t; +void input_resource_TerminateSout( input_resource_t *p_resource ); /** - * This function releases an input_ressource_t and all associated ressources. + * This function deletes the current vout in the resources. */ -void input_ressource_Delete( input_ressource_t * ); +void input_resource_TerminateVout( input_resource_t *p_resource ); /** - * This function deletes the current sout in the ressources. - */ -void input_ressource_TerminateSout( input_ressource_t *p_ressource ); - -/** - * This function deletes the current vout in the ressources. - */ -void input_ressource_TerminateVout( input_ressource_t *p_ressource ); - -/** - * This function return true if there is at least one vout in the ressources. + * This function return true if there is at least one vout in the resources. * - * It can only be called on detached ressources. + * It can only be called on detached resources. */ -bool input_ressource_HasVout( input_ressource_t *p_ressource ); +bool input_resource_HasVout( input_resource_t *p_resource ); /* input.c */ -#define input_CreateThreadExtended(a,b,c,d) __input_CreateThreadExtended(VLC_OBJECT(a),b,c,d) -input_thread_t *__input_CreateThreadExtended ( vlc_object_t *, input_item_t *, const char *, input_ressource_t * ); - -/** - * This function detaches ressources from a dead input. - * - * It MUST be called on a dead input (p_input->b_dead true) otherwise - * it will assert. - * It does not support concurrent calls. - */ -input_ressource_t *input_DetachRessource( input_thread_t * ); /* */ typedef enum