X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgseekable.h;h=b289df587d29fb3c40c88d3191cd7b1c04b4ef76;hb=5247f12f3649726471080440de0d37b78c1cec33;hp=33fc619b8703bd93c90e77cf862583455f466a6c;hpb=6d071b4ab6d60aecf9532d1aac2128dd0c08f917;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gseekable.h b/gio/gseekable.h index 33fc619..b289df5 100644 --- a/gio/gseekable.h +++ b/gio/gseekable.h @@ -33,9 +33,25 @@ G_BEGIN_DECLS #define G_IS_SEEKABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_SEEKABLE)) #define G_SEEKABLE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_SEEKABLE, GSeekableIface)) +/** + * GSeekable: + * + * Seek object for streaming operations. + **/ typedef struct _GSeekable GSeekable; typedef struct _GSeekableIface GSeekableIface; +/** + * 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: Chekcs if truncation is suppored by the stream. + * @truncate: Truncates a stream. + * + * Provides an interface for implementing seekable functionality on I/O Streams. + **/ struct _GSeekableIface { GTypeInterface g_iface;