Functions
dnf_sack_new ()
DnfSack *
dnf_sack_new (void);
dnf_sack_set_cachedir ()
void
dnf_sack_set_cachedir (DnfSack *sack,
const gchar *value);
dnf_sack_set_arch ()
gboolean
dnf_sack_set_arch (DnfSack *sack,
const gchar *value,
GError **error);
dnf_sack_set_all_arch ()
void
dnf_sack_set_all_arch (DnfSack *sack,
gboolean all_arch);
dnf_sack_get_all_arch ()
gboolean
dnf_sack_get_all_arch (DnfSack *sack);
dnf_sack_set_allow_vendor_change ()
void
dnf_sack_set_allow_vendor_change (DnfSack *sack,
gboolean allow_vendor_change);
dnf_sack_get_allow_vendor_change ()
gboolean
dnf_sack_get_allow_vendor_change (DnfSack *sack);
dnf_sack_set_rootdir ()
void
dnf_sack_set_rootdir (DnfSack *sack,
const gchar *value);
dnf_sack_setup ()
gboolean
dnf_sack_setup (DnfSack *sack,
int flags,
GError **error);
dnf_sack_evr_cmp ()
int
dnf_sack_evr_cmp (DnfSack *sack,
const char *evr1,
const char *evr2);
dnf_sack_get_cache_dir ()
const char *
dnf_sack_get_cache_dir (DnfSack *sack);
dnf_sack_get_running_kernel ()
DnfPackage *
dnf_sack_get_running_kernel (DnfSack *sack);
dnf_sack_give_cache_fn ()
char *
dnf_sack_give_cache_fn (DnfSack *sack,
const char *reponame,
const char *ext);
dnf_sack_list_arches ()
const char **
dnf_sack_list_arches (DnfSack *sack);
dnf_sack_set_installonly ()
void
dnf_sack_set_installonly (DnfSack *sack,
const char **installonly);
dnf_sack_set_installonly_limit ()
void
dnf_sack_set_installonly_limit (DnfSack *sack,
guint limit);
dnf_sack_get_installonly_limit ()
guint
dnf_sack_get_installonly_limit (DnfSack *sack);
dnf_sack_add_cmdline_package ()
DnfPackage *
dnf_sack_add_cmdline_package (DnfSack *sack,
const char *fn);
dnf_sack_add_cmdline_package_nochecksum ()
DnfPackage *
dnf_sack_add_cmdline_package_nochecksum
(DnfSack *sack,
const char *fn);
dnf_sack_count ()
int
dnf_sack_count (DnfSack *sack);
dnf_sack_add_module_excludes ()
void
dnf_sack_add_module_excludes (DnfSack *sack,
const DnfPackageSet *pset);
dnf_sack_remove_excludes ()
void
dnf_sack_remove_excludes (DnfSack *sack,
const DnfPackageSet *pset);
dnf_sack_remove_module_excludes ()
void
dnf_sack_remove_module_excludes (DnfSack *sack,
const DnfPackageSet *pset);
dnf_sack_remove_includes ()
void
dnf_sack_remove_includes (DnfSack *sack,
const DnfPackageSet *pset);
dnf_sack_set_module_excludes ()
void
dnf_sack_set_module_excludes (DnfSack *sack,
const DnfPackageSet *pset);
dnf_sack_set_module_includes ()
void
dnf_sack_set_module_includes (DnfSack *sack,
const DnfPackageSet *pset);
dnf_sack_reset_excludes ()
void
dnf_sack_reset_excludes (DnfSack *sack);
dnf_sack_reset_module_excludes ()
void
dnf_sack_reset_module_excludes (DnfSack *sack);
dnf_sack_reset_includes ()
void
dnf_sack_reset_includes (DnfSack *sack);
dnf_sack_set_use_includes ()
gboolean
dnf_sack_set_use_includes (DnfSack *sack,
const char *reponame,
gboolean enabled);
dnf_sack_get_use_includes ()
gboolean
dnf_sack_get_use_includes (DnfSack *sack,
const char *reponame,
gboolean *enabled);
dnf_sack_repo_enabled ()
int
dnf_sack_repo_enabled (DnfSack *sack,
const char *reponame,
int enabled);
dnf_sack_load_system_repo ()
gboolean
dnf_sack_load_system_repo (DnfSack *sack,
HyRepo a_hrepo,
int flags,
GError **error);
dnf_sack_load_repo ()
gboolean
dnf_sack_load_repo (DnfSack *sack,
HyRepo hrepo,
int flags,
GError **error);
dnf_sack_get_pool ()
Pool *
dnf_sack_get_pool (DnfSack *sack);
dnf_sack_filter_modules ()
void
dnf_sack_filter_modules (DnfSack *sack,
GPtrArray *repos,
const char *install_root,
const char *platformModule);
dnf_sack_add_repos ()
gboolean
dnf_sack_add_repos (DnfSack *sack,
GPtrArray *repos,
guint permissible_cache_age,
DnfSackAddFlags flags,
DnfState *state,
GError **error);