Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
_GSeekableIface Struct Reference

#include <gseekable.h>

Data Fields

GTypeInterface g_iface
 
goffset(* tell )(GSeekable *seekable)
 
gboolean(* can_seek )(GSeekable *seekable)
 
gboolean(* seek )(GSeekable *seekable, goffset offset, GSeekType type, GCancellable *cancellable, GError **error)
 
gboolean(* can_truncate )(GSeekable *seekable)
 
gboolean(* truncate_fn )(GSeekable *seekable, goffset offset, GCancellable *cancellable, GError **error)
 

Detailed Description

GSeekableIface: @g_iface: The parent interface. @tell: Tells the current location within a stream. @can_seek: Checks if seeking is supported by the stream. @seek: Seeks to a location within a stream. @can_truncate: Checks if truncation is supported by the stream. @truncate_fn: Truncates a stream.

Provides an interface for implementing seekable functionality on I/O Streams.

Definition at line 52 of file gseekable.h.

Field Documentation

◆ can_seek

gboolean(* _GSeekableIface::can_seek) (GSeekable *seekable)

Definition at line 60 of file gseekable.h.

◆ can_truncate

gboolean(* _GSeekableIface::can_truncate) (GSeekable *seekable)

Definition at line 67 of file gseekable.h.

◆ g_iface

GTypeInterface _GSeekableIface::g_iface

Definition at line 54 of file gseekable.h.

◆ seek

gboolean(* _GSeekableIface::seek) (GSeekable *seekable, goffset offset, GSeekType type, GCancellable *cancellable, GError **error)

Definition at line 61 of file gseekable.h.

◆ tell

goffset(* _GSeekableIface::tell) (GSeekable *seekable)

Definition at line 58 of file gseekable.h.

◆ truncate_fn

gboolean(* _GSeekableIface::truncate_fn) (GSeekable *seekable, goffset offset, GCancellable *cancellable, GError **error)

Definition at line 68 of file gseekable.h.


The documentation for this struct was generated from the following file: