]> git.sesse.net Git - vlc/blob - src/input/input_file.c
32949453ba6b31c6128bb67b6cb6b04f0d6f9e27
[vlc] / src / input / input_file.c
1 /*****************************************************************************
2  * input_file.c: functions to read from a file
3  *****************************************************************************
4  * Copyright (C) 1999, 2000 VideoLAN
5  *
6  * Authors:
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public
19  * License along with this program; if not, write to the
20  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21  * Boston, MA 02111-1307, USA.
22  *****************************************************************************/
23
24 /*****************************************************************************
25  * Preamble
26  *****************************************************************************/
27 #include <sys/types.h>                        /* on BSD, uio.h needs types.h */
28 #include <sys/uio.h>                                            /* "input.h" */
29
30 #include "common.h"
31 #include "config.h"
32 #include "mtime.h"
33 #include "threads.h"
34
35 #include "input.h"
36 #include "input_file.h"
37
38 /*****************************************************************************
39  * input_FileOpen : open a file descriptor
40  *****************************************************************************/
41 int input_FileOpen( input_thread_t *p_input )
42 {
43     /* XXX?? */
44     return( 1 );
45 }
46
47 /*****************************************************************************
48  * input_FileRead : read from a file
49  *****************************************************************************/
50 int input_FileRead( input_thread_t *p_input, const struct iovec *p_vector,
51                     size_t i_count )
52 {
53     /* XXX?? */
54     return( -1 );
55 }
56
57 /*****************************************************************************
58  * input_FileClose : close a file descriptor
59  *****************************************************************************/
60 void input_FileClose( input_thread_t *p_input )
61 {
62     /* XXX?? */
63 }