Audacious
$Id:Doxyfile42802007-03-2104:39:00Znenolod$
|
Go to the source code of this file.
Functions | |
static VFSFile * | buffer_vfs_fopen_impl (const gchar *path, const gchar *mode) |
static gint | buffer_vfs_fclose_impl (VFSFile *file) |
static gint64 | buffer_vfs_fread_impl (void *i_ptr, gint64 size, gint64 nmemb, VFSFile *file) |
static gint64 | buffer_vfs_fwrite_impl (const void *i_ptr, gint64 size, gint64 nmemb, VFSFile *file) |
static gint | buffer_vfs_getc_impl (VFSFile *stream) |
static gint | buffer_vfs_ungetc_impl (gint c, VFSFile *stream) |
static gint | buffer_vfs_fseek_impl (VFSFile *file, gint64 offset, gint whence) |
static void | buffer_vfs_rewind_impl (VFSFile *file) |
static gint64 | buffer_vfs_ftell_impl (VFSFile *file) |
static gboolean | buffer_vfs_feof_impl (VFSFile *file) |
static gint | buffer_vfs_truncate_impl (VFSFile *file, gint64 size) |
static gint64 | buffer_vfs_fsize_impl (VFSFile *file) |
VFSFile * | vfs_buffer_new (gpointer data, gsize size) |
Creates a VFS buffer for reading/writing to a memory segment. | |
VFSFile * | vfs_buffer_new_from_string (gchar *str) |
Creates a VFS buffer for reading/writing to a string. | |
Variables | |
static VFSConstructor | buffer_const |
Definition at line 34 of file vfs_buffer.c.
Definition at line 165 of file vfs_buffer.c.
static VFSFile* buffer_vfs_fopen_impl | ( | const gchar * | path, |
const gchar * | mode | ||
) | [static] |
Definition at line 27 of file vfs_buffer.c.
static gint64 buffer_vfs_fread_impl | ( | void * | i_ptr, |
gint64 | size, | ||
gint64 | nmemb, | ||
VFSFile * | file | ||
) | [static] |
Definition at line 43 of file vfs_buffer.c.
Definition at line 110 of file vfs_buffer.c.
static gint64 buffer_vfs_fsize_impl | ( | VFSFile * | file | ) | [static] |
Definition at line 184 of file vfs_buffer.c.
static gint64 buffer_vfs_ftell_impl | ( | VFSFile * | file | ) | [static] |
Definition at line 152 of file vfs_buffer.c.
static gint64 buffer_vfs_fwrite_impl | ( | const void * | i_ptr, |
gint64 | size, | ||
gint64 | nmemb, | ||
VFSFile * | file | ||
) | [static] |
Definition at line 67 of file vfs_buffer.c.
Definition at line 92 of file vfs_buffer.c.
static void buffer_vfs_rewind_impl | ( | VFSFile * | file | ) | [static] |
Definition at line 139 of file vfs_buffer.c.
Definition at line 178 of file vfs_buffer.c.
Definition at line 104 of file vfs_buffer.c.
VFSFile* vfs_buffer_new | ( | gpointer | data, |
gsize | size | ||
) |
Creates a VFS buffer for reading/writing to a memory segment.
data | Pointer to data to use. |
size | Size of data to use. |
Definition at line 214 of file vfs_buffer.c.
Referenced by vfs_buffer_new_from_string(), and vfs_buffered_file_new_from_uri().
VFSFile* vfs_buffer_new_from_string | ( | gchar * | str | ) |
Creates a VFS buffer for reading/writing to a string.
str | String to use. |
Definition at line 244 of file vfs_buffer.c.
VFSConstructor buffer_const [static] |
{ NULL, buffer_vfs_fopen_impl, buffer_vfs_fclose_impl, buffer_vfs_fread_impl, buffer_vfs_fwrite_impl, buffer_vfs_getc_impl, buffer_vfs_ungetc_impl, buffer_vfs_fseek_impl, buffer_vfs_rewind_impl, buffer_vfs_ftell_impl, buffer_vfs_feof_impl, buffer_vfs_truncate_impl, buffer_vfs_fsize_impl, NULL }
Definition at line 196 of file vfs_buffer.c.
Referenced by vfs_buffer_new().