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 */ 00019 00020 #ifndef AUDACIOUS_VFS_BUFFER_H 00021 #define AUDACIOUS_VFS_BUFFER_H 00022 00023 #include <glib.h> 00024 #include "vfs.h" 00025 00026 G_BEGIN_DECLS 00027 00029 typedef struct { 00030 guchar *data; 00031 guchar *iter; 00032 guchar *end; 00033 gsize size; 00034 } VFSBuffer; 00035 00043 VFSFile *vfs_buffer_new(gpointer data, gsize size); 00044 00051 VFSFile *vfs_buffer_new_from_string(gchar *str); 00052 00053 G_END_DECLS 00054 00055 #endif /* AUDACIOUS_VFS_BUFFER_H */