add_savefile: remove callback parameter
[vlc/asuraparaju-public.git] / modules / access / fs.h
blobde5e4936499653769b4277f2044e027a24daa77b
1 /*****************************************************************************
2 * fs.h: file system access plug-in common header
3 *****************************************************************************
4 * Copyright (C) 2009 RĂ©mi Denis-Courmont
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
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 General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
19 *****************************************************************************/
21 #include <dirent.h>
23 int Open (vlc_object_t *);
24 void Close (vlc_object_t *);
25 int NoSeek (access_t *, uint64_t);
27 ssize_t FileRead (access_t *, uint8_t *, size_t);
28 int FileSeek (access_t *, uint64_t);
29 int FileControl (access_t *, int, va_list);
31 int DirOpen (vlc_object_t *);
32 int DirInit (access_t *p_access, DIR *handle);
33 block_t *DirBlock (access_t *);
34 int DirControl (access_t *, int, va_list);
35 void DirClose (vlc_object_t *);