| GIO Reference Manual | ||||
|---|---|---|---|---|
GFileInputStream;
GFileInfo* g_file_input_stream_query_info (GFileInputStream *stream,
char *attributes,
GCancellable *cancellable,
GError **error);
void g_file_input_stream_query_info_async
(GFileInputStream *stream,
char *attributes,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GFileInfo* g_file_input_stream_query_info_finish
(GFileInputStream *stream,
GAsyncResult *result,
GError **error);
goffset g_file_input_stream_tell (GFileInputStream *stream);
gboolean g_file_input_stream_can_seek (GFileInputStream *stream);
gboolean g_file_input_stream_seek (GFileInputStream *stream,
goffset offset,
GSeekType type,
GCancellable *cancellable,
GError **error);
GFileInfo* g_file_input_stream_query_info (GFileInputStream *stream, char *attributes, GCancellable *cancellable, GError **error);
|
|
|
|
|
optional GCancellable object, NULL to ignore.
|
|
a GError location to store the error occuring, or NULL to
ignore.
Returns:
|
Returns : |
void g_file_input_stream_query_info_async
(GFileInputStream *stream,
char *attributes,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
|
|
|
|
|
the io priority of the request. |
|
optional GCancellable object, NULL to ignore. callback:
|
|
|
|
GFileInfo* g_file_input_stream_query_info_finish (GFileInputStream *stream, GAsyncResult *result, GError **error);
goffset g_file_input_stream_tell (GFileInputStream *stream);
|
|
Returns : |
gboolean g_file_input_stream_can_seek (GFileInputStream *stream);
|
|
Returns : |
TRUE if stream can be seeked. FALSE otherwise.
|
gboolean g_file_input_stream_seek (GFileInputStream *stream, goffset offset, GSeekType type, GCancellable *cancellable, GError **error);
|
|
|
|
|
|
|
optional GCancellable object, NULL to ignore.
|
|
a GError location to store the error occuring, or NULL to
ignore.
Returns:
|
Returns : |