]> git.sesse.net Git - vlc/blob - src/input/input_file.c
. normalement on devrait se prendre 1 seul mail par commit gr�ce aux
[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 "defs.h"
28
29 #include <sys/types.h>                        /* on BSD, uio.h needs types.h */
30 #include <sys/uio.h>                                            /* "input.h" */
31
32 #include "config.h"
33 #include "common.h"
34 #include "threads.h"
35 #include "mtime.h"
36
37 #include "input.h"
38 #include "input_file.h"
39
40 /*****************************************************************************
41  * input_FileOpen : open a file descriptor
42  *****************************************************************************/
43 int input_FileOpen( input_thread_t *p_input )
44 {
45     /* XXX?? */
46     return( 1 );
47 }
48
49 /*****************************************************************************
50  * input_FileRead : read from a file
51  *****************************************************************************/
52 int input_FileRead( input_thread_t *p_input, const struct iovec *p_vector,
53                     size_t i_count )
54 {
55     /* XXX?? */
56     return( -1 );
57 }
58
59 /*****************************************************************************
60  * input_FileClose : close a file descriptor
61  *****************************************************************************/
62 void input_FileClose( input_thread_t *p_input )
63 {
64     /* XXX?? */
65 }