Audacious $Id:Doxyfile42802007-03-2104:39:00Znenolod$
|
#include <glib.h>
#include <stdlib.h>
#include <string.h>
#include "debug.h"
#include "probe-buffer.h"
Go to the source code of this file.
Classes | |
struct | ProbeBuffer |
Functions | |
static int | probe_buffer_fclose (VFSFile *file) |
static void | increase_buffer (ProbeBuffer *p, int64_t size) |
static int64_t | probe_buffer_fread (void *buffer, int64_t size, int64_t count, VFSFile *file) |
static int64_t | probe_buffer_fwrite (const void *data, int64_t size, int64_t count, VFSFile *file) |
static int | probe_buffer_getc (VFSFile *file) |
static int | probe_buffer_fseek (VFSFile *file, int64_t offset, int whence) |
static int | probe_buffer_ungetc (int c, VFSFile *file) |
static void | probe_buffer_rewind (VFSFile *file) |
static int64_t | probe_buffer_ftell (VFSFile *file) |
static bool_t | probe_buffer_feof (VFSFile *file) |
static int | probe_buffer_ftruncate (VFSFile *file, int64_t size) |
static int64_t | probe_buffer_fsize (VFSFile *file) |
static char * | probe_buffer_get_metadata (VFSFile *file, const char *field) |
VFSFile * | probe_buffer_new (const char *filename) |
Variables | |
static VFSConstructor | probe_buffer_table |
static void increase_buffer | ( | ProbeBuffer * | p, |
int64_t | size | ||
) | [static] |
Definition at line 46 of file probe-buffer.c.
Referenced by probe_buffer_fread(), and probe_buffer_fseek().
Definition at line 37 of file probe-buffer.c.
Definition at line 119 of file probe-buffer.c.
static int64_t probe_buffer_fread | ( | void * | buffer, |
int64_t | size, | ||
int64_t | count, | ||
VFSFile * | file | ||
) | [static] |
Definition at line 58 of file probe-buffer.c.
Referenced by probe_buffer_getc().
Definition at line 84 of file probe-buffer.c.
Referenced by probe_buffer_rewind(), and probe_buffer_ungetc().
static int64_t probe_buffer_fsize | ( | VFSFile * | file | ) | [static] |
Definition at line 131 of file probe-buffer.c.
static int64_t probe_buffer_ftell | ( | VFSFile * | file | ) | [static] |
Definition at line 114 of file probe-buffer.c.
Definition at line 125 of file probe-buffer.c.
static int64_t probe_buffer_fwrite | ( | const void * | data, |
int64_t | size, | ||
int64_t | count, | ||
VFSFile * | file | ||
) | [static] |
Definition at line 71 of file probe-buffer.c.
static char* probe_buffer_get_metadata | ( | VFSFile * | file, |
const char * | field | ||
) | [static] |
Definition at line 136 of file probe-buffer.c.
Definition at line 78 of file probe-buffer.c.
VFSFile* probe_buffer_new | ( | const char * | filename | ) |
Definition at line 158 of file probe-buffer.c.
Referenced by check_opened().
static void probe_buffer_rewind | ( | VFSFile * | file | ) | [static] |
Definition at line 109 of file probe-buffer.c.
Definition at line 104 of file probe-buffer.c.
VFSConstructor probe_buffer_table [static] |
{ .vfs_fopen_impl = NULL, .vfs_fclose_impl = probe_buffer_fclose, .vfs_fread_impl = probe_buffer_fread, .vfs_fwrite_impl = probe_buffer_fwrite, .vfs_getc_impl = probe_buffer_getc, .vfs_ungetc_impl = probe_buffer_ungetc, .vfs_fseek_impl = probe_buffer_fseek, .vfs_rewind_impl = probe_buffer_rewind, .vfs_ftell_impl = probe_buffer_ftell, .vfs_feof_impl = probe_buffer_feof, .vfs_ftruncate_impl = probe_buffer_ftruncate, .vfs_fsize_impl = probe_buffer_fsize, .vfs_get_metadata_impl = probe_buffer_get_metadata, }
Definition at line 141 of file probe-buffer.c.