| Top |
| #define | LI_TYPE_PKG_CACHE |
| GQuark | li_pkg_cache_error_quark () |
| LiPkgCache * | li_pkg_cache_new () |
| void | li_pkg_cache_open () |
| void | li_pkg_cache_update () |
| GPtrArray * | li_pkg_cache_get_packages () |
| LiPkgInfo * | li_pkg_cache_get_pkg_info () |
| gchar * | li_pkg_cache_fetch_remote () |
void li_pkg_cache_open (LiPkgCache *cache,GError **error);
Open the package cache and load a list of available packages.
void li_pkg_cache_update (LiPkgCache *cache,GError **error);
Update the package cache by downloading new package indices from the web.
LiPkgInfo * li_pkg_cache_get_pkg_info (LiPkgCache *cache,const gchar *pkid);
The LiPkgInfo for pkid, or NULL in case
no package with that id was found in the cache.
[transfer none]
gchar * li_pkg_cache_fetch_remote (LiPkgCache *cache,const gchar *pkgid,GError **error);
Download a package from a remote source.
The error type.
“progress” signalvoid user_function (LiPkgCache *lipkgcache, guint arg1, gpointer arg2, gpointer user_data)
lipkgcache |
the object which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last