VFSConstructor Struct Reference

VFSConstructor objects contain the base vtables used for extrapolating a VFS stream. More...

#include <vfs.h>

List of all members.

Public Attributes

VFSFile *(* vfs_fopen_impl )(const gchar *filename, const gchar *mode)
 A function pointer which points to a fopen implementation.
gint(* vfs_fclose_impl )(VFSFile *file)
 A function pointer which points to a fclose implementation.
gint64(* vfs_fread_impl )(void *ptr, gint64 size, gint64 nmemb, VFSFile *file)
 A function pointer which points to a fread implementation.
gint64(* vfs_fwrite_impl )(const void *ptr, gint64 size, gint64 nmemb, VFSFile *file)
 A function pointer which points to a fwrite implementation.
gint(* vfs_getc_impl )(VFSFile *stream)
 A function pointer which points to a getc implementation.
gint(* vfs_ungetc_impl )(gint c, VFSFile *stream)
 A function pointer which points to an ungetc implementation.
gint(* vfs_fseek_impl )(VFSFile *file, gint64 offset, gint whence)
 A function pointer which points to a fseek implementation.
void(* vfs_rewind_impl )(VFSFile *file)
 function pointer which points to a rewind implementation.
gint64(* vfs_ftell_impl )(VFSFile *file)
 A function pointer which points to a ftell implementation.
gboolean(* vfs_feof_impl )(VFSFile *file)
 A function pointer which points to a feof implementation.
gint(* vfs_ftruncate_impl )(VFSFile *file, gint64 length)
 A function pointer which points to a ftruncate implementation.
gint64(* vfs_fsize_impl )(VFSFile *file)
 A function pointer which points to a fsize implementation.
gchar *(* vfs_get_metadata_impl )(VFSFile *file, const gchar *field)
 A function pointer which points to a (stream) metadata fetching implementation.

Detailed Description

VFSConstructor objects contain the base vtables used for extrapolating a VFS stream.

VFSConstructor objects should be considered virtual in nature. VFS base vtables are registered via vfs_register_transport().

Definition at line 62 of file vfs.h.


Member Data Documentation

gint(* VFSConstructor::vfs_fclose_impl)(VFSFile *file)

A function pointer which points to a fclose implementation.

gboolean(* VFSConstructor::vfs_feof_impl)(VFSFile *file)

A function pointer which points to a feof implementation.

VFSFile*(* VFSConstructor::vfs_fopen_impl)(const gchar *filename, const gchar *mode)

A function pointer which points to a fopen implementation.

gint64(* VFSConstructor::vfs_fread_impl)(void *ptr, gint64 size, gint64 nmemb, VFSFile *file)

A function pointer which points to a fread implementation.

gint(* VFSConstructor::vfs_fseek_impl)(VFSFile *file, gint64 offset, gint whence)

A function pointer which points to a fseek implementation.

gint64(* VFSConstructor::vfs_fsize_impl)(VFSFile *file)

A function pointer which points to a fsize implementation.

gint64(* VFSConstructor::vfs_ftell_impl)(VFSFile *file)

A function pointer which points to a ftell implementation.

gint(* VFSConstructor::vfs_ftruncate_impl)(VFSFile *file, gint64 length)

A function pointer which points to a ftruncate implementation.

gint64(* VFSConstructor::vfs_fwrite_impl)(const void *ptr, gint64 size, gint64 nmemb, VFSFile *file)

A function pointer which points to a fwrite implementation.

gchar*(* VFSConstructor::vfs_get_metadata_impl)(VFSFile *file, const gchar *field)

A function pointer which points to a (stream) metadata fetching implementation.

gint(* VFSConstructor::vfs_getc_impl)(VFSFile *stream)

A function pointer which points to a getc implementation.

void(* VFSConstructor::vfs_rewind_impl)(VFSFile *file)

function pointer which points to a rewind implementation.

gint(* VFSConstructor::vfs_ungetc_impl)(gint c, VFSFile *stream)

A function pointer which points to an ungetc implementation.


The documentation for this struct was generated from the following file:

Generated on 27 Aug 2011 for Audacious by  doxygen 1.6.1