GArrowFile

GArrowFile — File interface

Functions

Types and Values

Object Hierarchy

    GInterface
    ╰── GArrowFile

Description

GArrowFile is an interface for file.

Functions

garrow_file_close ()

gboolean
garrow_file_close (GArrowFile *file,
                   GError **error);

Parameters

file

A GArrowFile.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_file_tell ()

gint64
garrow_file_tell (GArrowFile *file,
                  GError **error);

Parameters

file

A GArrowFile.

 

error

Return location for a GError or NULL.

[nullable]

Returns

The current offset on success, -1 if there was an error.


garrow_file_get_mode ()

GArrowFileMode
garrow_file_get_mode (GArrowFile *file);

Parameters

file

A GArrowFile.

 

Returns

The mode of the file.

Types and Values

GArrowFileInterface

typedef struct _GArrowFileInterface GArrowFileInterface;