Audacious
$Id:Doxyfile42802007-03-2104:39:00Znenolod$
|
00001 /* Audacious 00002 * Copyright (c) 2006-2007 William Pitcock 00003 * 00004 * This program is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation; under version 3 of the License. 00007 * 00008 * This program is distributed in the hope that it will be useful, 00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00011 * GNU General Public License for more details. 00012 * 00013 * You should have received a copy of the GNU General Public License 00014 * along with this program. If not, see <http://www.gnu.org/licenses>. 00015 * 00016 * The Audacious team does not consider modular code linking to 00017 * Audacious or using our public API to be a derived work. 00018 */ 00024 #ifndef AUDACIOUS_VFS_BUFFERED_FILE_H 00025 #define AUDACIOUS_VFS_BUFFERED_FILE_H 00026 00027 #include <glib.h> 00028 #include "vfs.h" 00029 #include "vfs_buffer.h" 00030 00031 G_BEGIN_DECLS 00032 00034 typedef struct { 00035 VFSFile *fd; 00036 VFSFile *buffer; 00037 gchar *mem; 00038 gboolean which; 00039 } VFSBufferedFile; 00040 00041 VFSFile *vfs_buffered_file_new_from_uri(const gchar *uri); 00042 VFSFile *vfs_buffered_file_release_live_fd(VFSFile *fd); 00043 00044 G_END_DECLS 00045 00046 #endif /* AUDACIOUS_VFS_BUFFERED_FILE_H */