#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "probe-buffer.h"
Go to the source code of this file.
static void increase_buffer | ( | ProbeBuffer * | p, | |
gint64 | size | |||
) | [static] |
Definition at line 45 of file probe-buffer.c.
Referenced by probe_buffer_fread(), and probe_buffer_fseek().
Definition at line 38 of file probe-buffer.c.
Definition at line 135 of file probe-buffer.c.
static gint64 probe_buffer_fread | ( | void * | buffer, | |
gint64 | size, | |||
gint64 | count, | |||
VFSFile * | file | |||
) | [static] |
Definition at line 65 of file probe-buffer.c.
Referenced by probe_buffer_getc().
Definition at line 91 of file probe-buffer.c.
Referenced by probe_buffer_rewind(), and probe_buffer_ungetc().
static gint64 probe_buffer_fsize | ( | VFSFile * | file | ) | [static] |
Definition at line 147 of file probe-buffer.c.
static gint64 probe_buffer_ftell | ( | VFSFile * | file | ) | [static] |
Definition at line 130 of file probe-buffer.c.
Definition at line 141 of file probe-buffer.c.
static gint64 probe_buffer_fwrite | ( | const void * | data, | |
gint64 | size, | |||
gint64 | count, | |||
VFSFile * | file | |||
) | [static] |
Definition at line 78 of file probe-buffer.c.
static gchar* probe_buffer_get_metadata | ( | VFSFile * | file, | |
const gchar * | field | |||
) | [static] |
Definition at line 152 of file probe-buffer.c.
Definition at line 85 of file probe-buffer.c.
VFSFile* probe_buffer_new | ( | const gchar * | filename | ) |
Definition at line 175 of file probe-buffer.c.
Referenced by check_opened().
static void probe_buffer_rewind | ( | VFSFile * | file | ) | [static] |
Definition at line 125 of file probe-buffer.c.
void probe_buffer_set_decoder | ( | VFSFile * | file, | |
const gchar * | decoder | |||
) |
Definition at line 200 of file probe-buffer.c.
Referenced by probe_func().
Definition at line 120 of file probe-buffer.c.
VFSConstructor probe_buffer_table [static] |
{ .uri_id = NULL, .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 157 of file probe-buffer.c.