Struct

GLibIOFuncs

Description

struct GIOFuncs {
  GIOStatus (* io_read) (
    GIOChannel* channel,
    gchar* buf,
    gsize count,
    gsize* bytes_read,
    GError** error
  );
  GIOStatus (* io_write) (
    GIOChannel* channel,
    const gchar* buf,
    gsize count,
    gsize* bytes_written,
    GError** error
  );
  GIOStatus (* io_seek) (
    GIOChannel* channel,
    gint64 offset,
    GSeekType type,
    GError** error
  );
  GIOStatus (* io_close) (
    GIOChannel* channel,
    GError** error
  );
  GSource* (* io_create_watch) (
    GIOChannel* channel,
    GIOCondition condition
  );
  void (* io_free) (
    GIOChannel* channel
  );
  GIOStatus (* io_set_flags) (
    GIOChannel* channel,
    GIOFlags flags,
    GError** error
  );
  GIOFlags (* io_get_flags) (
    GIOChannel* channel
  );
}

A table of functions used to handle different types of GIOChannel in a generic way.

Structure members
io_read No description available.
io_write No description available.
io_seek No description available.
io_close No description available.
io_create_watch No description available.
io_free No description available.
io_set_flags No description available.
io_get_flags No description available.