Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
giostream.h File Reference
#include <gio/ginputstream.h>
#include <gio/goutputstream.h>
#include <gio/gcancellable.h>
#include <gio/gioerror.h>

Go to the source code of this file.

Data Structures

struct  _GIOStream
 
struct  _GIOStreamClass
 

Macros

#define G_TYPE_IO_STREAM   (g_io_stream_get_type ())
 
#define G_IO_STREAM(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_IO_STREAM, GIOStream))
 
#define G_IO_STREAM_CLASS(k)   (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_IO_STREAM, GIOStreamClass))
 
#define G_IS_IO_STREAM(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_IO_STREAM))
 
#define G_IS_IO_STREAM_CLASS(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_IO_STREAM))
 
#define G_IO_STREAM_GET_CLASS(o)   (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_IO_STREAM, GIOStreamClass))
 

Typedefs

typedef struct _GIOStreamPrivate GIOStreamPrivate
 
typedef struct _GIOStreamClass GIOStreamClass
 

Functions

GIO_AVAILABLE_IN_ALL GType g_io_stream_get_type (void) G_GNUC_CONST
 
GIO_AVAILABLE_IN_ALL GInputStreamg_io_stream_get_input_stream (GIOStream *stream)
 
GIO_AVAILABLE_IN_ALL GOutputStreamg_io_stream_get_output_stream (GIOStream *stream)
 
GIO_AVAILABLE_IN_ALL void g_io_stream_splice_async (GIOStream *stream1, GIOStream *stream2, GIOStreamSpliceFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL gboolean g_io_stream_splice_finish (GAsyncResult *result, GError **error)
 
GIO_AVAILABLE_IN_ALL gboolean g_io_stream_close (GIOStream *stream, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_io_stream_close_async (GIOStream *stream, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_ALL gboolean g_io_stream_close_finish (GIOStream *stream, GAsyncResult *result, GError **error)
 
GIO_AVAILABLE_IN_ALL gboolean g_io_stream_is_closed (GIOStream *stream)
 
GIO_AVAILABLE_IN_ALL gboolean g_io_stream_has_pending (GIOStream *stream)
 
GIO_AVAILABLE_IN_ALL gboolean g_io_stream_set_pending (GIOStream *stream, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_io_stream_clear_pending (GIOStream *stream)
 

Macro Definition Documentation

◆ G_IO_STREAM

#define G_IO_STREAM ( o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_IO_STREAM, GIOStream))

Definition at line 34 of file giostream.h.

◆ G_IO_STREAM_CLASS

#define G_IO_STREAM_CLASS ( k)    (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_IO_STREAM, GIOStreamClass))

Definition at line 35 of file giostream.h.

◆ G_IO_STREAM_GET_CLASS

#define G_IO_STREAM_GET_CLASS ( o)    (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_IO_STREAM, GIOStreamClass))

Definition at line 38 of file giostream.h.

◆ G_IS_IO_STREAM

#define G_IS_IO_STREAM ( o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_IO_STREAM))

Definition at line 36 of file giostream.h.

◆ G_IS_IO_STREAM_CLASS

#define G_IS_IO_STREAM_CLASS ( k)    (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_IO_STREAM))

Definition at line 37 of file giostream.h.

◆ G_TYPE_IO_STREAM

#define G_TYPE_IO_STREAM   (g_io_stream_get_type ())

Definition at line 33 of file giostream.h.

Typedef Documentation

◆ GIOStreamClass

Definition at line 41 of file giostream.h.

◆ GIOStreamPrivate

typedef struct _GIOStreamPrivate GIOStreamPrivate

Definition at line 40 of file giostream.h.

Function Documentation

◆ g_io_stream_clear_pending()

GIO_AVAILABLE_IN_ALL void g_io_stream_clear_pending ( GIOStream * stream)

◆ g_io_stream_close()

GIO_AVAILABLE_IN_ALL gboolean g_io_stream_close ( GIOStream * stream,
GCancellable * cancellable,
GError ** error )

◆ g_io_stream_close_async()

GIO_AVAILABLE_IN_ALL void g_io_stream_close_async ( GIOStream * stream,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_io_stream_close_finish()

GIO_AVAILABLE_IN_ALL gboolean g_io_stream_close_finish ( GIOStream * stream,
GAsyncResult * result,
GError ** error )

◆ g_io_stream_get_input_stream()

GIO_AVAILABLE_IN_ALL GInputStream * g_io_stream_get_input_stream ( GIOStream * stream)

◆ g_io_stream_get_output_stream()

GIO_AVAILABLE_IN_ALL GOutputStream * g_io_stream_get_output_stream ( GIOStream * stream)

◆ g_io_stream_get_type()

GIO_AVAILABLE_IN_ALL GType g_io_stream_get_type ( void )

◆ g_io_stream_has_pending()

GIO_AVAILABLE_IN_ALL gboolean g_io_stream_has_pending ( GIOStream * stream)

◆ g_io_stream_is_closed()

GIO_AVAILABLE_IN_ALL gboolean g_io_stream_is_closed ( GIOStream * stream)

◆ g_io_stream_set_pending()

GIO_AVAILABLE_IN_ALL gboolean g_io_stream_set_pending ( GIOStream * stream,
GError ** error )

◆ g_io_stream_splice_async()

GIO_AVAILABLE_IN_ALL void g_io_stream_splice_async ( GIOStream * stream1,
GIOStream * stream2,
GIOStreamSpliceFlags flags,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_io_stream_splice_finish()

GIO_AVAILABLE_IN_ALL gboolean g_io_stream_splice_finish ( GAsyncResult * result,
GError ** error )