]> git.sesse.net Git - vlc/blob - modules/access/fs.h
mux: avi: fix leak on format failure
[vlc] / modules / access / fs.h
1 /*****************************************************************************
2  * fs.h: file system access plug-in common header
3  *****************************************************************************
4  * Copyright (C) 2009 RĂ©mi Denis-Courmont
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU Lesser General Public License as published by
8  * the Free Software Foundation; either version 2.1 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public License
17  * along with this program; if not, write to the Free Software Foundation,
18  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
19  *****************************************************************************/
20
21 #include <dirent.h>
22
23 int FileOpen (vlc_object_t *);
24 void FileClose (vlc_object_t *);
25
26 int DirOpen (vlc_object_t *);
27 int DirInit (access_t *p_access, DIR *handle);
28 int DirRead (access_t *, input_item_node_t *);
29 int DirControl (access_t *, int, va_list);
30 void DirClose (vlc_object_t *);