Top | ![]() |
![]() |
![]() |
![]() |
gboolean (*FuArchiveIterateFunc) (FuArchive *self
,const gchar *filename
,GBytes *bytes
,gpointer user_data
,GError **error
);
Specifies the type of archive iteration function.
FuArchive * fu_archive_new (GBytes *data
,FuArchiveFlags flags
,GError **error
);
Parses data
as an archive and decompresses all files to memory blobs.
Since: 1.2.2
GBytes * fu_archive_lookup_by_fn (FuArchive *self
,const gchar *fn
,GError **error
);
Finds the blob referenced by filename
Since: 1.2.2
gboolean fu_archive_iterate (FuArchive *self
,FuArchiveIterateFunc callback
,gpointer user_data
,GError **error
);
Iterates over the archive contents, calling the given function for each
of the files found. If any callback
returns FALSE
scanning is aborted.
Since: 1.3.4