Top | ![]() |
![]() |
![]() |
![]() |
gboolean | (*FuArchiveIterateFunc) () |
FuArchive * | fu_archive_new () |
GBytes * | fu_archive_lookup_by_fn () |
gboolean | fu_archive_iterate () |
gboolean (*FuArchiveIterateFunc) (FuArchive *self
,const gchar *filename
,GBytes *bytes
,gpointer user_data
,GError **error
);
The archive iteration callback.
FuArchive * fu_archive_new (GBytes *data
,FuArchiveFlags flags
,GError **error
);
Parses data
as an archive and decompresses all files to memory blobs.
data |
archive contents |
|
flags |
archive flags, e.g. |
|
error |
optional return location for an error. |
[nullable] |
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.
self |
||
callback |
[scope call] | |
user_data |
user data |
|
error |
optional return location for an error. |
[nullable] |
Since: 1.3.4