Functions
LI_TYPE_PKG_INDEX
#define LI_TYPE_PKG_INDEX (li_pkg_index_get_type ())
li_pkg_index_load_file ()
void
li_pkg_index_load_file (LiPkgIndex *pkidx
,
GFile *file
,
GError **error
);
li_pkg_index_load_data ()
void
li_pkg_index_load_data (LiPkgIndex *pkidx
,
const gchar *data
);
li_pkg_index_save_to_file ()
gboolean
li_pkg_index_save_to_file (LiPkgIndex *pkidx
,
const gchar *filename
);
li_pkg_index_get_packages ()
GPtrArray *
li_pkg_index_get_packages (LiPkgIndex *pkidx
);
Returns
Packages in the index.
[transfer none][element-type LiPkgInfo]
li_pkg_index_get_packages_count ()
guint
li_pkg_index_get_packages_count (LiPkgIndex *pkidx
);
Returns
Count of packages in the index
li_pkg_index_get_data ()
gchar *
li_pkg_index_get_data (LiPkgIndex *pkidx
);