GIOFuncs

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

Members

Variables

ioClose
GIOStatus function(GIOChannel* channel, GError** err) ioClose;
ioCreateWatch
GSource* function(GIOChannel* channel, GIOCondition condition) ioCreateWatch;
ioFree
void function(GIOChannel* channel) ioFree;
ioGetFlags
GIOFlags function(GIOChannel* channel) ioGetFlags;
ioRead
GIOStatus function(GIOChannel* channel, char* buf, size_t count, size_t* bytesRead, GError** err) ioRead;
ioSeek
GIOStatus function(GIOChannel* channel, long offset, GSeekType type, GError** err) ioSeek;
ioSetFlags
GIOStatus function(GIOChannel* channel, GIOFlags flags, GError** err) ioSetFlags;
ioWrite
GIOStatus function(GIOChannel* channel, const(char)* buf, size_t count, size_t* bytesWritten, GError** err) ioWrite;