mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Improve API so that you can use multile chunks of memory and custom
2008-01-04 Alexander Larsson <alexl@redhat.com> * gio.symbols: * gmemoryinputstream.[ch]: Improve API so that you can use multile chunks of memory and custom destroy functions. (#506374) svn path=/trunk/; revision=6241
This commit is contained in:
committed by
Alexander Larsson
parent
0dea8132fd
commit
ce50248037
@@ -70,12 +70,14 @@ struct _GMemoryInputStreamClass
|
||||
|
||||
|
||||
GType g_memory_input_stream_get_type (void) G_GNUC_CONST;
|
||||
GInputStream * g_memory_input_stream_from_data (const void *data,
|
||||
gssize len);
|
||||
void g_memory_input_stream_set_free_data (GMemoryInputStream *stream,
|
||||
gboolean free_data);
|
||||
const void *g_memory_input_stream_get_data (GMemoryInputStream *stream);
|
||||
gsize g_memory_input_stream_get_data_size (GMemoryInputStream *stream);
|
||||
GInputStream * g_memory_input_stream_new (void);
|
||||
GInputStream * g_memory_input_stream_new_from_data (const void *data,
|
||||
gssize len,
|
||||
GDestroyNotify destroy);
|
||||
void g_memory_input_stream_add_data (GMemoryInputStream *stream,
|
||||
const void *data,
|
||||
gssize len,
|
||||
GDestroyNotify destroy);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
Reference in New Issue
Block a user