26#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
27#error "Only <gio/gio.h> can be included directly."
34#define G_TYPE_FILE (g_file_get_type ())
35#define G_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_FILE, GFile))
36#define G_IS_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_FILE))
37#define G_FILE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_FILE, GFileIface))
166 const char *uri_scheme);
167 char * (* get_uri_scheme) (
GFile *file);
168 char * (* get_basename) (
GFile *file);
171 char * (* get_parse_name) (
GFile *file);
175 char * (* get_relative_path) (
GFile *parent,
178 const char *relative_path);
180 const char *display_name,
184 const char *attributes,
189 const char *attributes,
200 const char *attributes,
205 const char *attributes,
216 const char *attributes,
220 const char *attributes,
242 const char *display_name,
246 const char *display_name,
268 const char *attribute,
386 const char *symlink_value,
390 const char *symlink_value,
672 const
char *display_name,
682 const
char *relative_path);
687 const
char *uri_scheme);
815 const
char *attributes,
821 const
char *attributes,
833 const
char *attributes,
838 const
char *attributes,
863 const
char *attributes,
869 const
char *attributes,
881 const
char *display_name,
886 const
char *display_name,
953 GClosure *progress_callback_closure,
983 GClosure *progress_callback_closure,
1010 const
char *symlink_value,
1015 const
char *symlink_value,
1034 const
char *attribute,
1061 const
char *attribute,
1068 const
char *attribute,
1075 const
char *attribute,
1082 const
char *attribute,
1089 const
char *attribute,
1096 const
char *attribute,
1311 const
char *contents,
1321 const
char *contents,
CURL_EXTERN int void * arg
typedefG_BEGIN_DECLS struct _GBytes GBytes
GIO_AVAILABLE_IN_ALL char * g_file_get_uri(GFile *file)
GIO_AVAILABLE_IN_ALL GFile * g_file_set_display_name_finish(GFile *file, GAsyncResult *res, GError **error)
GIO_AVAILABLE_IN_ALL void g_file_eject_mountable_with_operation(GFile *file, GMountUnmountFlags flags, GMountOperation *mount_operation, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_2_68 char * g_file_build_attribute_list_for_copy(GFile *file, GFileCopyFlags flags, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_2_74 GFile * g_file_new_tmp_finish(GAsyncResult *result, GFileIOStream **iostream, GError **error)
GIO_AVAILABLE_IN_ALL GFileEnumerator * g_file_enumerate_children(GFile *file, const char *attributes, GFileQueryInfoFlags flags, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_2_56 void g_file_load_bytes_async(GFile *file, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL void g_file_open_readwrite_async(GFile *file, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL void g_file_set_attributes_async(GFile *file, GFileInfo *info, GFileQueryInfoFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL char * g_file_get_basename(GFile *file)
GIO_AVAILABLE_IN_ALL gboolean g_file_supports_thread_contexts(GFile *file)
GIO_AVAILABLE_IN_ALL GType g_file_get_type(void) G_GNUC_CONST
GIO_AVAILABLE_IN_ALL GFile * g_file_mount_mountable_finish(GFile *file, GAsyncResult *result, GError **error)
GIO_AVAILABLE_IN_ALL GFileMonitor * g_file_monitor_file(GFile *file, GFileMonitorFlags flags, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_2_56 GBytes * g_file_load_bytes(GFile *file, GCancellable *cancellable, gchar **etag_out, GError **error)
GIO_AVAILABLE_IN_ALL void g_file_poll_mountable(GFile *file, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL GMount * g_file_find_enclosing_mount(GFile *file, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL GFile * g_file_parse_name(const char *parse_name)
GIO_AVAILABLE_IN_ALL gboolean g_file_trash(GFile *file, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL GFileIOStream * g_file_replace_readwrite(GFile *file, const char *etag, gboolean make_backup, GFileCreateFlags flags, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_2_74 void g_file_new_tmp_async(const char *tmpl, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL gboolean g_file_set_attribute_string(GFile *file, const char *attribute, const char *value, GFileQueryInfoFlags flags, GCancellable *cancellable, GError **error)
void g_file_eject_mountable(GFile *file, GMountUnmountFlags flags, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL gboolean g_file_mount_enclosing_volume_finish(GFile *location, GAsyncResult *result, GError **error)
GIO_AVAILABLE_IN_ALL gboolean g_file_equal(GFile *file1, GFile *file2)
GIO_AVAILABLE_IN_ALL void g_file_load_contents_async(GFile *file, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL gboolean g_file_delete(GFile *file, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL GFileInfo * g_file_query_info_finish(GFile *file, GAsyncResult *res, GError **error)
GIO_AVAILABLE_IN_2_74 gboolean g_file_make_symbolic_link_finish(GFile *file, GAsyncResult *result, GError **error)
GIO_AVAILABLE_IN_2_72 void g_file_move_async(GFile *source, GFile *destination, GFileCopyFlags flags, int io_priority, GCancellable *cancellable, GFileProgressCallback progress_callback, gpointer progress_callback_data, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL gboolean g_file_has_parent(GFile *file, GFile *parent)
GIO_AVAILABLE_IN_ALL GFile * g_file_resolve_relative_path(GFile *file, const char *relative_path)
GIO_AVAILABLE_IN_ALL gboolean g_file_make_directory(GFile *file, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL gboolean g_file_copy_finish(GFile *file, GAsyncResult *res, GError **error)
GIO_AVAILABLE_IN_ALL GFileEnumerator * g_file_enumerate_children_finish(GFile *file, GAsyncResult *res, GError **error)
GIO_AVAILABLE_IN_ALL void g_file_query_filesystem_info_async(GFile *file, const char *attributes, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL GFile * g_file_get_child(GFile *file, const char *name)
GIO_AVAILABLE_IN_ALL GFileAttributeInfoList * g_file_query_settable_attributes(GFile *file, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL void g_file_create_readwrite_async(GFile *file, GFileCreateFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL gboolean g_file_set_attribute_uint64(GFile *file, const char *attribute, guint64 value, GFileQueryInfoFlags flags, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL gboolean g_file_set_attribute(GFile *file, const char *attribute, GFileAttributeType type, gpointer value_p, GFileQueryInfoFlags flags, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_2_56 GFile * g_file_new_build_filename(const gchar *first_element,...) G_GNUC_NULL_TERMINATED
GIO_AVAILABLE_IN_ALL gboolean g_file_set_attribute_int64(GFile *file, const char *attribute, gint64 value, GFileQueryInfoFlags flags, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL void g_file_mount_mountable(GFile *file, GMountMountFlags flags, GMountOperation *mount_operation, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL void g_file_start_mountable(GFile *file, GDriveStartFlags flags, GMountOperation *start_operation, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_2_38 void g_file_trash_async(GFile *file, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
gboolean g_file_unmount_mountable_finish(GFile *file, GAsyncResult *result, GError **error)
GIO_AVAILABLE_IN_ALL GFileAttributeInfoList * g_file_query_writable_namespaces(GFile *file, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL gboolean g_file_replace_contents(GFile *file, const char *contents, gsize length, const char *etag, gboolean make_backup, GFileCreateFlags flags, char **new_etag, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL GFile * g_file_get_child_for_display_name(GFile *file, const char *display_name, GError **error)
GIO_AVAILABLE_IN_2_60 GAppInfo * g_file_query_default_handler_finish(GFile *file, GAsyncResult *result, GError **error)
GIO_AVAILABLE_IN_2_60 void g_file_query_default_handler_async(GFile *file, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL char * g_file_get_path(GFile *file)
GIO_AVAILABLE_IN_2_82 void g_file_copy_async_with_closures(GFile *source, GFile *destination, GFileCopyFlags flags, int io_priority, GCancellable *cancellable, GClosure *progress_callback_closure, GClosure *ready_callback_closure)
GIO_AVAILABLE_IN_ALL gboolean g_file_make_symbolic_link(GFile *file, const char *symlink_value, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL gboolean g_file_has_uri_scheme(GFile *file, const char *uri_scheme)
GIO_AVAILABLE_IN_ALL GFile * g_file_new_for_commandline_arg(const char *arg)
GIO_AVAILABLE_IN_ALL GFileOutputStream * g_file_create_finish(GFile *file, GAsyncResult *res, GError **error)
GIO_AVAILABLE_IN_ALL GFile * g_file_set_display_name(GFile *file, const char *display_name, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL void g_file_copy_async(GFile *source, GFile *destination, GFileCopyFlags flags, int io_priority, GCancellable *cancellable, GFileProgressCallback progress_callback, gpointer progress_callback_data, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL char * g_file_get_uri_scheme(GFile *file)
GIO_AVAILABLE_IN_2_40 void g_file_replace_contents_bytes_async(GFile *file, GBytes *contents, const char *etag, gboolean make_backup, GFileCreateFlags flags, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL GFile * g_file_new_for_uri(const char *uri)
GIO_AVAILABLE_IN_ALL gboolean g_file_make_directory_with_parents(GFile *file, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL gboolean g_file_is_native(GFile *file)
GIO_AVAILABLE_IN_ALL void g_file_read_async(GFile *file, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL gboolean g_file_stop_mountable_finish(GFile *file, GAsyncResult *result, GError **error)
GIO_AVAILABLE_IN_ALL gboolean g_file_eject_mountable_with_operation_finish(GFile *file, GAsyncResult *result, GError **error)
GIO_AVAILABLE_IN_2_38 gboolean g_file_measure_disk_usage(GFile *file, GFileMeasureFlags flags, GCancellable *cancellable, GFileMeasureProgressCallback progress_callback, gpointer progress_data, guint64 *disk_usage, guint64 *num_dirs, guint64 *num_files, GError **error)
GIO_AVAILABLE_IN_2_32 GFile * g_file_new_tmp(const char *tmpl, GFileIOStream **iostream, GError **error)
GIO_AVAILABLE_IN_ALL gboolean g_file_load_contents(GFile *file, GCancellable *cancellable, char **contents, gsize *length, char **etag_out, GError **error)
GIO_AVAILABLE_IN_ALL GFileIOStream * g_file_replace_readwrite_finish(GFile *file, GAsyncResult *res, GError **error)
GIO_AVAILABLE_IN_ALL gboolean g_file_query_exists(GFile *file, GCancellable *cancellable)
GIO_AVAILABLE_IN_ALL GFileIOStream * g_file_create_readwrite_finish(GFile *file, GAsyncResult *res, GError **error)
GIO_AVAILABLE_IN_ALL gboolean g_file_set_attributes_finish(GFile *file, GAsyncResult *result, GFileInfo **info, GError **error)
GIO_AVAILABLE_IN_ALL gboolean g_file_set_attributes_from_info(GFile *file, GFileInfo *info, GFileQueryInfoFlags flags, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL GFileInputStream * g_file_read(GFile *file, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL GFileIOStream * g_file_create_readwrite(GFile *file, GFileCreateFlags flags, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL GFile * g_file_get_parent(GFile *file)
GIO_AVAILABLE_IN_ALL void g_file_unmount_mountable_with_operation(GFile *file, GMountUnmountFlags flags, GMountOperation *mount_operation, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL gboolean g_file_set_attribute_byte_string(GFile *file, const char *attribute, const char *value, GFileQueryInfoFlags flags, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL gboolean g_file_set_attribute_int32(GFile *file, const char *attribute, gint32 value, GFileQueryInfoFlags flags, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL GFileInputStream * g_file_read_finish(GFile *file, GAsyncResult *res, GError **error)
GIO_AVAILABLE_IN_2_56 const char * g_file_peek_path(GFile *file)
GIO_AVAILABLE_IN_ALL void g_file_replace_readwrite_async(GFile *file, const char *etag, gboolean make_backup, GFileCreateFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_2_36 GFile * g_file_new_for_commandline_arg_and_cwd(const gchar *arg, const gchar *cwd)
GIO_AVAILABLE_IN_ALL char * g_file_get_relative_path(GFile *parent, GFile *descendant)
GIO_AVAILABLE_IN_2_34 void g_file_delete_async(GFile *file, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL GFileInfo * g_file_query_filesystem_info_finish(GFile *file, GAsyncResult *res, GError **error)
GIO_AVAILABLE_IN_ALL GFileOutputStream * g_file_create(GFile *file, GFileCreateFlags flags, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL GFileOutputStream * g_file_append_to(GFile *file, GFileCreateFlags flags, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL GFileType g_file_query_file_type(GFile *file, GFileQueryInfoFlags flags, GCancellable *cancellable)
GIO_AVAILABLE_IN_ALL void g_file_query_info_async(GFile *file, const char *attributes, GFileQueryInfoFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL void g_file_find_enclosing_mount_async(GFile *file, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL void g_file_replace_async(GFile *file, const char *etag, gboolean make_backup, GFileCreateFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL gboolean g_file_move(GFile *source, GFile *destination, GFileCopyFlags flags, GCancellable *cancellable, GFileProgressCallback progress_callback, gpointer progress_callback_data, GError **error)
GIO_AVAILABLE_IN_2_38 void g_file_make_directory_async(GFile *file, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL GFileOutputStream * g_file_replace_finish(GFile *file, GAsyncResult *res, GError **error)
GIO_AVAILABLE_IN_2_82 void g_file_move_async_with_closures(GFile *source, GFile *destination, GFileCopyFlags flags, int io_priority, GCancellable *cancellable, GClosure *progress_callback_closure, GClosure *ready_callback_closure)
GIO_AVAILABLE_IN_ALL void g_file_enumerate_children_async(GFile *file, const char *attributes, GFileQueryInfoFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL gboolean g_file_poll_mountable_finish(GFile *file, GAsyncResult *result, GError **error)
GIO_AVAILABLE_IN_ALL gboolean g_file_unmount_mountable_with_operation_finish(GFile *file, GAsyncResult *result, GError **error)
GIO_AVAILABLE_IN_2_74 void g_file_new_tmp_dir_async(const char *tmpl, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_2_38 gboolean g_file_make_directory_finish(GFile *file, GAsyncResult *result, GError **error)
GIO_AVAILABLE_IN_ALL void g_file_load_partial_contents_async(GFile *file, GCancellable *cancellable, GFileReadMoreCallback read_more_callback, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL gboolean g_file_load_partial_contents_finish(GFile *file, GAsyncResult *res, char **contents, gsize *length, char **etag_out, GError **error)
GIO_AVAILABLE_IN_ALL char * g_file_get_parse_name(GFile *file)
GIO_AVAILABLE_IN_ALL GMount * g_file_find_enclosing_mount_finish(GFile *file, GAsyncResult *res, GError **error)
GIO_AVAILABLE_IN_ALL GFileIOStream * g_file_open_readwrite(GFile *file, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL gboolean g_file_has_prefix(GFile *file, GFile *prefix)
GIO_AVAILABLE_IN_ALL gboolean g_file_load_contents_finish(GFile *file, GAsyncResult *res, char **contents, gsize *length, char **etag_out, GError **error)
GIO_AVAILABLE_IN_ALL GFileIOStream * g_file_open_readwrite_finish(GFile *file, GAsyncResult *res, GError **error)
void g_file_unmount_mountable(GFile *file, GMountUnmountFlags flags, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL GFileOutputStream * g_file_append_to_finish(GFile *file, GAsyncResult *res, GError **error)
GIO_AVAILABLE_IN_2_34 gboolean g_file_delete_finish(GFile *file, GAsyncResult *result, GError **error)
GIO_AVAILABLE_IN_ALL void g_file_replace_contents_async(GFile *file, const char *contents, gsize length, const char *etag, gboolean make_backup, GFileCreateFlags flags, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
gboolean g_file_eject_mountable_finish(GFile *file, GAsyncResult *result, GError **error)
GIO_AVAILABLE_IN_2_78 GFile * g_file_new_build_filenamev(const gchar *const *args)
GIO_AVAILABLE_IN_ALL GFileMonitor * g_file_monitor_directory(GFile *file, GFileMonitorFlags flags, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL void g_file_mount_enclosing_volume(GFile *location, GMountMountFlags flags, GMountOperation *mount_operation, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_2_38 void g_file_measure_disk_usage_async(GFile *file, GFileMeasureFlags flags, gint io_priority, GCancellable *cancellable, GFileMeasureProgressCallback progress_callback, gpointer progress_data, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL GAppInfo * g_file_query_default_handler(GFile *file, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL void g_file_append_to_async(GFile *file, GFileCreateFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL gboolean g_file_copy_attributes(GFile *source, GFile *destination, GFileCopyFlags flags, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL GFileOutputStream * g_file_replace(GFile *file, const char *etag, gboolean make_backup, GFileCreateFlags flags, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL gboolean g_file_copy(GFile *source, GFile *destination, GFileCopyFlags flags, GCancellable *cancellable, GFileProgressCallback progress_callback, gpointer progress_callback_data, GError **error)
GIO_AVAILABLE_IN_ALL GFile * g_file_new_for_path(const char *path)
GIO_AVAILABLE_IN_2_38 gboolean g_file_trash_finish(GFile *file, GAsyncResult *result, GError **error)
GIO_AVAILABLE_IN_ALL gboolean g_file_start_mountable_finish(GFile *file, GAsyncResult *result, GError **error)
GIO_AVAILABLE_IN_ALL void g_file_set_display_name_async(GFile *file, const char *display_name, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL GFileInfo * g_file_query_info(GFile *file, const char *attributes, GFileQueryInfoFlags flags, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_2_72 gboolean g_file_move_finish(GFile *file, GAsyncResult *result, GError **error)
GIO_AVAILABLE_IN_ALL gboolean g_file_replace_contents_finish(GFile *file, GAsyncResult *res, char **new_etag, GError **error)
GIO_AVAILABLE_IN_2_74 GFile * g_file_new_tmp_dir_finish(GAsyncResult *result, GError **error)
GIO_AVAILABLE_IN_2_56 GBytes * g_file_load_bytes_finish(GFile *file, GAsyncResult *result, gchar **etag_out, GError **error)
GIO_AVAILABLE_IN_ALL gboolean g_file_set_attribute_uint32(GFile *file, const char *attribute, guint32 value, GFileQueryInfoFlags flags, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL GFileMonitor * g_file_monitor(GFile *file, GFileMonitorFlags flags, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL GFile * g_file_dup(GFile *file)
GIO_AVAILABLE_IN_ALL void g_file_stop_mountable(GFile *file, GMountUnmountFlags flags, GMountOperation *mount_operation, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL void g_file_create_async(GFile *file, GFileCreateFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_2_74 void g_file_make_symbolic_link_async(GFile *file, const char *symlink_value, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_2_38 gboolean g_file_measure_disk_usage_finish(GFile *file, GAsyncResult *result, guint64 *disk_usage, guint64 *num_dirs, guint64 *num_files, GError **error)
GIO_AVAILABLE_IN_ALL GFileInfo * g_file_query_filesystem_info(GFile *file, const char *attributes, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_ALL guint g_file_hash(gconstpointer file)
#define GIO_AVAILABLE_IN_ALL
#define GIO_AVAILABLE_IN_2_74
#define GIO_AVAILABLE_IN_2_32
#define GIO_AVAILABLE_IN_2_78
#define GIO_AVAILABLE_IN_2_36
#define GIO_AVAILABLE_IN_2_60
#define GIO_AVAILABLE_IN_2_40
#define GIO_DEPRECATED_FOR(f)
#define GIO_AVAILABLE_IN_2_72
#define GIO_AVAILABLE_IN_2_68
#define GIO_AVAILABLE_IN_2_82
#define GIO_AVAILABLE_IN_2_34
#define GIO_AVAILABLE_IN_2_38
#define GIO_AVAILABLE_IN_2_56
struct _GAppInfo GAppInfo
struct _GFileInfo GFileInfo
void(* GFileMeasureProgressCallback)(gboolean reporting, guint64 current_size, guint64 num_dirs, guint64 num_files, gpointer data)
struct _GAsyncResult GAsyncResult
gboolean(* GFileReadMoreCallback)(const char *file_contents, goffset file_size, gpointer callback_data)
void(* GFileProgressCallback)(goffset current_num_bytes, goffset total_num_bytes, gpointer data)
void(* GAsyncReadyCallback)(GObject *source_object, GAsyncResult *res, gpointer data)
#define G_GNUC_NULL_TERMINATED
G_BEGIN_DECLS typedef char gchar
const void * gconstpointer
static void error(LoadState *S, const char *why)
gboolean(* set_attributes_from_info)(GFile *file, GFileInfo *info, GFileQueryInfoFlags flags, GCancellable *cancellable, GError **error)
void(* _query_writable_namespaces_finish)(void)
gboolean(* poll_mountable_finish)(GFile *file, GAsyncResult *result, GError **error)
void(* start_mountable)(GFile *file, GDriveStartFlags flags, GMountOperation *start_operation, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
gboolean(* prefix_matches)(GFile *prefix, GFile *file)
void(* open_readwrite_async)(GFile *file, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void(* create_async)(GFile *file, GFileCreateFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void(* _query_settable_attributes_finish)(void)
gboolean(* eject_mountable_finish)(GFile *file, GAsyncResult *result, GError **error)
gboolean(* unmount_mountable_finish)(GFile *file, GAsyncResult *result, GError **error)
gboolean(* make_symbolic_link)(GFile *file, const char *symlink_value, GCancellable *cancellable, GError **error)
void(* read_async)(GFile *file, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void(* find_enclosing_mount_async)(GFile *file, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void(* mount_mountable)(GFile *file, GMountMountFlags flags, GMountOperation *mount_operation, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void(* delete_file_async)(GFile *file, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
gboolean(* equal)(GFile *file1, GFile *file2)
void(* replace_readwrite_async)(GFile *file, const char *etag, gboolean make_backup, GFileCreateFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
gboolean(* set_attributes_finish)(GFile *file, GAsyncResult *result, GFileInfo **info, GError **error)
gboolean supports_thread_contexts
gboolean(* stop_mountable_finish)(GFile *file, GAsyncResult *result, GError **error)
gboolean(* make_symbolic_link_finish)(GFile *file, GAsyncResult *result, GError **error)
gboolean(* unmount_mountable_with_operation_finish)(GFile *file, GAsyncResult *result, GError **error)
gboolean(* start_mountable_finish)(GFile *file, GAsyncResult *result, GError **error)
gboolean(* measure_disk_usage_finish)(GFile *file, GAsyncResult *result, guint64 *disk_usage, guint64 *num_dirs, guint64 *num_files, GError **error)
void(* query_info_async)(GFile *file, const char *attributes, GFileQueryInfoFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void(* eject_mountable_with_operation)(GFile *file, GMountUnmountFlags flags, GMountOperation *mount_operation, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
gboolean(* copy)(GFile *source, GFile *destination, GFileCopyFlags flags, GCancellable *cancellable, GFileProgressCallback progress_callback, gpointer progress_callback_data, GError **error)
void(* unmount_mountable)(GFile *file, GMountUnmountFlags flags, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void(* unmount_mountable_with_operation)(GFile *file, GMountUnmountFlags flags, GMountOperation *mount_operation, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void(* mount_enclosing_volume)(GFile *location, GMountMountFlags flags, GMountOperation *mount_operation, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void(* query_filesystem_info_async)(GFile *file, const char *attributes, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void(* make_directory_async)(GFile *file, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
guint(* hash)(GFile *file)
gboolean(* delete_file_finish)(GFile *file, GAsyncResult *result, GError **error)
void(* _query_writable_namespaces_async)(void)
void(* create_readwrite_async)(GFile *file, GFileCreateFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
gboolean(* trash_finish)(GFile *file, GAsyncResult *result, GError **error)
gboolean(* trash)(GFile *file, GCancellable *cancellable, GError **error)
gboolean(* measure_disk_usage)(GFile *file, GFileMeasureFlags flags, GCancellable *cancellable, GFileMeasureProgressCallback progress_callback, gpointer progress_data, guint64 *disk_usage, guint64 *num_dirs, guint64 *num_files, GError **error)
void(* set_display_name_async)(GFile *file, const char *display_name, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
gboolean(* mount_enclosing_volume_finish)(GFile *location, GAsyncResult *result, GError **error)
gboolean(* has_uri_scheme)(GFile *file, const char *uri_scheme)
void(* poll_mountable)(GFile *file, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
gboolean(* is_native)(GFile *file)
gboolean(* move_finish)(GFile *file, GAsyncResult *result, GError **error)
void(* copy_async)(GFile *source, GFile *destination, GFileCopyFlags flags, int io_priority, GCancellable *cancellable, GFileProgressCallback progress_callback, gpointer progress_callback_data, GAsyncReadyCallback callback, gpointer user_data)
void(* enumerate_children_async)(GFile *file, const char *attributes, GFileQueryInfoFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void(* replace_async)(GFile *file, const char *etag, gboolean make_backup, GFileCreateFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void(* eject_mountable)(GFile *file, GMountUnmountFlags flags, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void(* stop_mountable)(GFile *file, GMountUnmountFlags flags, GMountOperation *mount_operation, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void(* make_symbolic_link_async)(GFile *file, const char *symlink_value, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
gboolean(* make_directory_finish)(GFile *file, GAsyncResult *result, GError **error)
gboolean(* make_directory)(GFile *file, GCancellable *cancellable, GError **error)
void(* trash_async)(GFile *file, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void(* _query_settable_attributes_async)(void)
gboolean(* delete_file)(GFile *file, GCancellable *cancellable, GError **error)
gboolean(* set_attribute)(GFile *file, const char *attribute, GFileAttributeType type, gpointer value_p, GFileQueryInfoFlags flags, GCancellable *cancellable, GError **error)
gboolean(* move)(GFile *source, GFile *destination, GFileCopyFlags flags, GCancellable *cancellable, GFileProgressCallback progress_callback, gpointer progress_callback_data, GError **error)
void(* set_attributes_async)(GFile *file, GFileInfo *info, GFileQueryInfoFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
void(* measure_disk_usage_async)(GFile *file, GFileMeasureFlags flags, gint io_priority, GCancellable *cancellable, GFileMeasureProgressCallback progress_callback, gpointer progress_data, GAsyncReadyCallback callback, gpointer user_data)
void(* append_to_async)(GFile *file, GFileCreateFlags flags, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
gboolean(* eject_mountable_with_operation_finish)(GFile *file, GAsyncResult *result, GError **error)
gboolean(* copy_finish)(GFile *file, GAsyncResult *res, GError **error)
void(* move_async)(GFile *source, GFile *destination, GFileCopyFlags flags, int io_priority, GCancellable *cancellable, GFileProgressCallback progress_callback, gpointer progress_callback_data, GAsyncReadyCallback callback, gpointer user_data)