vfs_buffer.h File Reference

#include <glib.h>
#include "vfs.h"

Go to the source code of this file.

Classes

struct  VFSBuffer
 Private data for the VFS memorybuffer class. More...

Functions

VFSFilevfs_buffer_new (gpointer data, gsize size)
 Creates a VFS buffer for reading/writing to a memory segment.
VFSFilevfs_buffer_new_from_string (gchar *str)
 Creates a VFS buffer for reading/writing to a string.

Function Documentation

VFSFile* vfs_buffer_new ( gpointer  data,
gsize  size 
)

Creates a VFS buffer for reading/writing to a memory segment.

Parameters:
data Pointer to data to use.
size Size of data to use.
Returns:
A VFSFile handle for the memory segment's stream representation.

Definition at line 213 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.

Parameters:
str String to use.
Returns:
A VFSFile handle for the memory segment's stream representation.

Definition at line 244 of file vfs_buffer.c.


Generated on 27 Aug 2011 for Audacious by  doxygen 1.6.1