-#include <vlc_charset.h>
-
-/*****************************************************************************
- * Module descriptor
- *****************************************************************************/
-static int Open ( vlc_object_t * );
-static void Close( vlc_object_t * );
-
-#define CACHING_TEXT N_("Caching value (ms)")
-#define CACHING_LONGTEXT N_( \
- "Caching value for files, in milliseconds." )
-
-#define NETWORK_CACHING_TEXT N_("Extra network caching value (ms)")
-#define NETWORK_CACHING_LONGTEXT N_( \
- "Supplementary caching value for remote files, in milliseconds." )
-
-vlc_module_begin ()
- set_description( N_("File input") )
- set_shortname( N_("File") )
- set_category( CAT_INPUT )
- set_subcategory( SUBCAT_INPUT_ACCESS )
- add_integer( "file-caching", DEFAULT_PTS_DELAY / 1000, NULL,
- CACHING_TEXT, CACHING_LONGTEXT, true )
- change_safe()
- add_integer( "network-caching", 3 * DEFAULT_PTS_DELAY / 1000, NULL,
- NETWORK_CACHING_TEXT, NETWORK_CACHING_LONGTEXT, true )
- change_safe()
- add_obsolete_string( "file-cat" )
- set_capability( "access", 50 )
- add_shortcut( "file" )
- add_shortcut( "fd" )
- add_shortcut( "stream" )
- set_callbacks( Open, Close )
-vlc_module_end ()
-
-
-/*****************************************************************************
- * Exported prototypes
- *****************************************************************************/
-static int Seek( access_t *, int64_t );
-static int NoSeek( access_t *, int64_t );
-static ssize_t Read( access_t *, uint8_t *, size_t );
-static int Control( access_t *, int, va_list );
-
-static int open_file( access_t *, const char * );