Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include <gio/goutputstream.h>
Go to the source code of this file.
Data Structures | |
struct | _GMemoryOutputStream |
struct | _GMemoryOutputStreamClass |
Macros | |
#define | G_TYPE_MEMORY_OUTPUT_STREAM (g_memory_output_stream_get_type ()) |
#define | G_MEMORY_OUTPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_MEMORY_OUTPUT_STREAM, GMemoryOutputStream)) |
#define | G_MEMORY_OUTPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_MEMORY_OUTPUT_STREAM, GMemoryOutputStreamClass)) |
#define | G_IS_MEMORY_OUTPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_MEMORY_OUTPUT_STREAM)) |
#define | G_IS_MEMORY_OUTPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_MEMORY_OUTPUT_STREAM)) |
#define | G_MEMORY_OUTPUT_STREAM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_MEMORY_OUTPUT_STREAM, GMemoryOutputStreamClass)) |
Typedefs | |
typedef struct _GMemoryOutputStreamClass | GMemoryOutputStreamClass |
typedef struct _GMemoryOutputStreamPrivate | GMemoryOutputStreamPrivate |
typedef gpointer(* | GReallocFunc) (gpointer data, gsize size) |
Functions | |
GIO_AVAILABLE_IN_ALL GType | g_memory_output_stream_get_type (void) G_GNUC_CONST |
GIO_AVAILABLE_IN_ALL GOutputStream * | g_memory_output_stream_new (gpointer data, gsize size, GReallocFunc realloc_function, GDestroyNotify destroy_function) |
GIO_AVAILABLE_IN_2_36 GOutputStream * | g_memory_output_stream_new_resizable (void) |
GIO_AVAILABLE_IN_ALL gpointer | g_memory_output_stream_get_data (GMemoryOutputStream *ostream) |
GIO_AVAILABLE_IN_ALL gsize | g_memory_output_stream_get_size (GMemoryOutputStream *ostream) |
GIO_AVAILABLE_IN_ALL gsize | g_memory_output_stream_get_data_size (GMemoryOutputStream *ostream) |
GIO_AVAILABLE_IN_ALL gpointer | g_memory_output_stream_steal_data (GMemoryOutputStream *ostream) |
GIO_AVAILABLE_IN_2_34 GBytes * | g_memory_output_stream_steal_as_bytes (GMemoryOutputStream *ostream) |
#define G_IS_MEMORY_OUTPUT_STREAM | ( | o | ) | (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_MEMORY_OUTPUT_STREAM)) |
Definition at line 37 of file gmemoryoutputstream.h.
#define G_IS_MEMORY_OUTPUT_STREAM_CLASS | ( | k | ) | (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_MEMORY_OUTPUT_STREAM)) |
Definition at line 38 of file gmemoryoutputstream.h.
#define G_MEMORY_OUTPUT_STREAM | ( | o | ) | (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_MEMORY_OUTPUT_STREAM, GMemoryOutputStream)) |
Definition at line 35 of file gmemoryoutputstream.h.
#define G_MEMORY_OUTPUT_STREAM_CLASS | ( | k | ) | (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_MEMORY_OUTPUT_STREAM, GMemoryOutputStreamClass)) |
Definition at line 36 of file gmemoryoutputstream.h.
#define G_MEMORY_OUTPUT_STREAM_GET_CLASS | ( | o | ) | (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_MEMORY_OUTPUT_STREAM, GMemoryOutputStreamClass)) |
Definition at line 39 of file gmemoryoutputstream.h.
#define G_TYPE_MEMORY_OUTPUT_STREAM (g_memory_output_stream_get_type ()) |
Definition at line 34 of file gmemoryoutputstream.h.
typedef struct _GMemoryOutputStreamClass GMemoryOutputStreamClass |
Definition at line 41 of file gmemoryoutputstream.h.
typedef struct _GMemoryOutputStreamPrivate GMemoryOutputStreamPrivate |
Definition at line 42 of file gmemoryoutputstream.h.
GReallocFunc: @data: memory block to reallocate @size: size to reallocate @data to
Changes the size of the memory block pointed to by @data to @size bytes.
The function should have the same semantics as realloc().
Returns: a pointer to the reallocated memory
Definition at line 77 of file gmemoryoutputstream.h.
GIO_AVAILABLE_IN_ALL gpointer g_memory_output_stream_get_data | ( | GMemoryOutputStream * | ostream | ) |
GIO_AVAILABLE_IN_ALL gsize g_memory_output_stream_get_data_size | ( | GMemoryOutputStream * | ostream | ) |
GIO_AVAILABLE_IN_ALL gsize g_memory_output_stream_get_size | ( | GMemoryOutputStream * | ostream | ) |
GIO_AVAILABLE_IN_ALL GType g_memory_output_stream_get_type | ( | void | ) |
GIO_AVAILABLE_IN_ALL GOutputStream * g_memory_output_stream_new | ( | gpointer | data, |
gsize | size, | ||
GReallocFunc | realloc_function, | ||
GDestroyNotify | destroy_function ) |
GIO_AVAILABLE_IN_2_36 GOutputStream * g_memory_output_stream_new_resizable | ( | void | ) |
GIO_AVAILABLE_IN_2_34 GBytes * g_memory_output_stream_steal_as_bytes | ( | GMemoryOutputStream * | ostream | ) |
GIO_AVAILABLE_IN_ALL gpointer g_memory_output_stream_steal_data | ( | GMemoryOutputStream * | ostream | ) |