Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gmemoryoutputstream.h File Reference

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 GOutputStreamg_memory_output_stream_new (gpointer data, gsize size, GReallocFunc realloc_function, GDestroyNotify destroy_function)
 
GIO_AVAILABLE_IN_2_36 GOutputStreamg_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 GBytesg_memory_output_stream_steal_as_bytes (GMemoryOutputStream *ostream)
 

Macro Definition Documentation

◆ G_IS_MEMORY_OUTPUT_STREAM

#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.

◆ G_IS_MEMORY_OUTPUT_STREAM_CLASS

#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.

◆ G_MEMORY_OUTPUT_STREAM

#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.

◆ G_MEMORY_OUTPUT_STREAM_CLASS

#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.

◆ G_MEMORY_OUTPUT_STREAM_GET_CLASS

#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.

◆ G_TYPE_MEMORY_OUTPUT_STREAM

#define G_TYPE_MEMORY_OUTPUT_STREAM   (g_memory_output_stream_get_type ())

Definition at line 34 of file gmemoryoutputstream.h.

Typedef Documentation

◆ GMemoryOutputStreamClass

Definition at line 41 of file gmemoryoutputstream.h.

◆ GMemoryOutputStreamPrivate

typedef struct _GMemoryOutputStreamPrivate GMemoryOutputStreamPrivate

Definition at line 42 of file gmemoryoutputstream.h.

◆ GReallocFunc

typedef gpointer(* GReallocFunc) (gpointer data, gsize size)

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.

Function Documentation

◆ g_memory_output_stream_get_data()

GIO_AVAILABLE_IN_ALL gpointer g_memory_output_stream_get_data ( GMemoryOutputStream * ostream)

◆ g_memory_output_stream_get_data_size()

GIO_AVAILABLE_IN_ALL gsize g_memory_output_stream_get_data_size ( GMemoryOutputStream * ostream)

◆ g_memory_output_stream_get_size()

GIO_AVAILABLE_IN_ALL gsize g_memory_output_stream_get_size ( GMemoryOutputStream * ostream)

◆ g_memory_output_stream_get_type()

GIO_AVAILABLE_IN_ALL GType g_memory_output_stream_get_type ( void )

◆ g_memory_output_stream_new()

GIO_AVAILABLE_IN_ALL GOutputStream * g_memory_output_stream_new ( gpointer data,
gsize size,
GReallocFunc realloc_function,
GDestroyNotify destroy_function )

◆ g_memory_output_stream_new_resizable()

GIO_AVAILABLE_IN_2_36 GOutputStream * g_memory_output_stream_new_resizable ( void )

◆ g_memory_output_stream_steal_as_bytes()

GIO_AVAILABLE_IN_2_34 GBytes * g_memory_output_stream_steal_as_bytes ( GMemoryOutputStream * ostream)

◆ g_memory_output_stream_steal_data()

GIO_AVAILABLE_IN_ALL gpointer g_memory_output_stream_steal_data ( GMemoryOutputStream * ostream)