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

Go to the source code of this file.

Functions

G_BEGIN_DECLS GIO_AVAILABLE_IN_ALL GSourceg_pollable_source_new (GObject *pollable_stream)
 
GIO_AVAILABLE_IN_2_34 GSourceg_pollable_source_new_full (gpointer pollable_stream, GSource *child_source, GCancellable *cancellable)
 
GIO_AVAILABLE_IN_2_34 gssize g_pollable_stream_read (GInputStream *stream, void *buffer, gsize count, gboolean blocking, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_2_34 gssize g_pollable_stream_write (GOutputStream *stream, const void *buffer, gsize count, gboolean blocking, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_2_34 gboolean g_pollable_stream_write_all (GOutputStream *stream, const void *buffer, gsize count, gboolean blocking, gsize *bytes_written, GCancellable *cancellable, GError **error)
 

Function Documentation

◆ g_pollable_source_new()

G_BEGIN_DECLS GIO_AVAILABLE_IN_ALL GSource * g_pollable_source_new ( GObject * pollable_stream)

◆ g_pollable_source_new_full()

GIO_AVAILABLE_IN_2_34 GSource * g_pollable_source_new_full ( gpointer pollable_stream,
GSource * child_source,
GCancellable * cancellable )

◆ g_pollable_stream_read()

GIO_AVAILABLE_IN_2_34 gssize g_pollable_stream_read ( GInputStream * stream,
void * buffer,
gsize count,
gboolean blocking,
GCancellable * cancellable,
GError ** error )

◆ g_pollable_stream_write()

GIO_AVAILABLE_IN_2_34 gssize g_pollable_stream_write ( GOutputStream * stream,
const void * buffer,
gsize count,
gboolean blocking,
GCancellable * cancellable,
GError ** error )

◆ g_pollable_stream_write_all()

GIO_AVAILABLE_IN_2_34 gboolean g_pollable_stream_write_all ( GOutputStream * stream,
const void * buffer,
gsize count,
gboolean blocking,
gsize * bytes_written,
GCancellable * cancellable,
GError ** error )