Top | ![]() |
![]() |
![]() |
![]() |
#define | EXTERNAL_APPSTREAM_PREFIX |
enum | GsExternalAppstreamError |
#define | GS_EXTERNAL_APPSTREAM_ERROR |
const gchar *
gs_external_appstream_utils_get_system_dir
(void
);
gchar *
gs_external_appstream_utils_get_file_cache_path
(const gchar *file_name
);
gchar *
gs_external_appstream_utils_get_legacy_file_cache_path
(const gchar *file_name
);
void gs_external_appstream_refresh_async (guint64 cache_age_secs
,GsDownloadProgressCallback progress_callback
,gpointer progress_user_data
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Refresh any configured external appstream files, if the cache is too old.
cache_age_secs |
cache age, in seconds, as passed to |
|
progress_callback |
callback to call with progress information. |
[nullable] |
progress_user_data |
data to pass
to |
[nullable][closure progress_callback] |
cancellable |
a GCancellable, or |
[nullable] |
callback |
function call when the asynchronous operation is complete |
|
user_data |
data to pass to |
Since: 42
gboolean gs_external_appstream_refresh_finish (GAsyncResult *result
,GError **error
);
Finish an asynchronous refresh operation started with
gs_external_appstream_refresh_async()
.
Since: 42