| Top |
| #define | DNF_TYPE_CONTEXT |
| struct | DnfContextClass |
| enum | DnfContextCleanFlags |
| enum | DnfContextInvalidateFlags |
| enum | DnfContextSetupSackFlags |
| DnfContext |
constgchar * dnf_context_get_platform_module (DnfContext *context);
constgchar ** dnf_context_get_native_arches (DnfContext *context);
constgchar ** dnf_context_get_installonly_pkgs (DnfContext *context);
gboolean dnf_context_get_check_disk_space (DnfContext *context);
gboolean dnf_context_get_check_transaction (DnfContext *context);
gboolean dnf_context_get_enable_filelists (DnfContext *context);
void dnf_context_set_config_file_path (const);gchar *config_file_path
void dnf_context_set_repos_dir (DnfContext *context,const);gchar * const *repos_dir
void dnf_context_set_repo_dir (DnfContext *context,const);gchar *repo_dir
void dnf_context_set_vars_dir (DnfContext *context,const);gchar * const *vars_dir
void dnf_context_set_release_ver (DnfContext *context,const);gchar *release_ver
void dnf_context_set_platform_module (DnfContext *context,const);gchar *platform_module
void dnf_context_set_cache_dir (DnfContext *context,const);gchar *cache_dir
void dnf_context_set_solv_dir (DnfContext *context,const);gchar *solv_dir
void dnf_context_set_vendor_cache_dir (DnfContext *context,const);gchar *vendor_cache_dir
void dnf_context_set_vendor_solv_dir (DnfContext *context,const);gchar *vendor_solv_dir
void dnf_context_set_lock_dir (DnfContext *context,const);gchar *lock_dir
void dnf_context_set_rpm_verbosity (DnfContext *context,const);gchar *rpm_verbosity
void dnf_context_set_install_root (DnfContext *context,const);gchar *install_root
void dnf_context_set_source_root (DnfContext *context,const);gchar *source_root
void dnf_context_set_allow_vendor_change ();gboolean vendorchange
void dnf_context_set_cache_only (DnfContext *context,);gboolean cache_only
void dnf_context_set_check_disk_space (DnfContext *context,);gboolean check_disk_space
void dnf_context_set_check_transaction (DnfContext *context,);gboolean check_transaction
void dnf_context_set_keep_cache (DnfContext *context,);gboolean keep_cache
void dnf_context_set_enable_filelists (DnfContext *context,);gboolean enable_filelists
void dnf_context_set_only_trusted (DnfContext *context,);gboolean only_trusted
void dnf_context_set_write_history (DnfContext *context,);gboolean value
void dnf_context_set_rpm_macro (DnfContext *context,const,gchar *keyconst);gchar *value
void dnf_context_set_http_proxy (DnfContext *context,const);gchar *proxyurl
void dnf_context_set_user_agent (DnfContext *context,const);gchar *user_agent
gboolean dnf_context_setup (DnfContext *context,,GCancellable *cancellable);GError **error
gboolean dnf_context_setup_enrollments (DnfContext *context,);GError **error
gboolean dnf_context_setup_sack (DnfContext *context,DnfState *state,);GError **error
gboolean dnf_context_setup_sack_with_flags (DnfContext *context,DnfState *state,DnfContextSetupSackFlags flags,);GError **error
gboolean dnf_context_commit (DnfContext *context,DnfState *state,);GError **error
void dnf_context_invalidate_full (DnfContext *context,const,gchar *messageDnfContextInvalidateFlags flags);
gboolean dnf_context_clean_cache (DnfContext *context,DnfContextCleanFlags flags,);GError **error
gboolean dnf_context_install (DnfContext *context,const,gchar *name);GError **error
gboolean dnf_context_remove (DnfContext *context,const,gchar *name);GError **error
gboolean dnf_context_update (DnfContext *context,const,gchar *name);GError **error
gboolean dnf_context_repo_enable (DnfContext *context,const,gchar *repo_id);GError **error
gboolean dnf_context_repo_disable (DnfContext *context,const,gchar *repo_id);GError **error
gboolean dnf_context_run (DnfContext *context,,GCancellable *cancellable);GError **error
void dnf_context_set_plugins_all_disabled ();gboolean disabled
void dnf_context_set_plugins_dir (DnfContext *context,const);char *plugins_dir
bool dnf_context_plugin_hook (DnfContext *context,,PluginHookId id,DnfPluginHookData *hookData);DnfPluginError *error
gboolean dnf_context_reset_modules (DnfContext *context,DnfSack *sack,const,char **module_names);GError **error
gboolean dnf_context_reset_all_modules (DnfContext *context,DnfSack *sack,);GError **error
gboolean dnf_context_module_enable (DnfContext *context,const,char **module_specs);GError **error
Enable mudules, recalculate module filtration, but do not commit modular changes.
To commit modular changes it requires to call dnf_context_run()
Returns FALSE when an error is set.
Since:
gboolean dnf_context_module_disable (DnfContext *context,const,char **module_specs);GError **error
Disable mudules, recalculate module filtration, but do not commit modular changes.
To commit modular changes it requires to call dnf_context_run()
Returns FALSE when an error is set.
Since:
gboolean dnf_context_module_reset (DnfContext *context,const,char **module_specs);GError **error
Reset modules, recalculate module filtration, but do not commit modular changes.
To commit modular changes it requires to call dnf_context_run()
Returns FALSE when an error is set.
Since:
gboolean dnf_context_module_switched_check (DnfContext *context,);GError **error
Ceck if any module is switched and return FALSE and sets an error Returns FALSE when an error is set.
Since:
struct DnfContextClass {
GObjectClass parent_class;
void (*invalidate) (DnfContext *context,
const gchar *message);
};