Object Hierarchy
GObject
├── GsfInput
│ ╰── GsfInputMemory
├── GsfOutput
│ ╰── GsfOutputMemory
╰── GsfSharedMemory
Functions
gsf_input_mmap_new ()
GsfInput *
gsf_input_mmap_new (char const *filename,
GError **err);
gsf_input_memory_new ()
GsfInput *
gsf_input_memory_new (guint8 const *buf,
gsf_off_t length,
gboolean needs_free);
gsf_input_memory_new_clone ()
GsfInput *
gsf_input_memory_new_clone (guint8 const *buf,
gsf_off_t length);
gsf_input_memory_new_from_iochannel ()
GsfInput *
gsf_input_memory_new_from_iochannel (GIOChannel *channel,
GError **error);
gsf_output_memory_get_bytes ()
const guint8 *
gsf_output_memory_get_bytes (GsfOutputMemory *mem);
Returns
The data that has been written to mem
, or NULL
gsf_output_memory_new ()
GsfOutput *
gsf_output_memory_new (void);
Returns
a new file or NULL.
Types and Values
GsfInputMemory
typedef struct _GsfInputMemory GsfInputMemory;
GsfOutputMemory
typedef struct _GsfOutputMemory GsfOutputMemory;