Top |
#define | LI_TYPE_INSTALLER |
GQuark | li_installer_error_quark () |
LiInstaller * | li_installer_new () |
gboolean | li_installer_open_file () |
gboolean | li_installer_open_remote () |
gboolean | li_installer_install () |
LiPkgInfo * | li_installer_get_package_info () |
gchar * | li_installer_get_appstream_data () |
LiTrustLevel | li_installer_get_package_trust_level () |
void | li_installer_set_ignore_foundations () |
void | li_installer_set_allow_insecure () |
struct | LiInstallerClass |
enum | LiInstallerError |
#define | LI_INSTALLER_ERROR |
LiInstaller |
gboolean li_installer_open_file (LiInstaller *inst
,const gchar *filename
,GError **error
);
Open a package file for installation.
gboolean li_installer_open_remote (LiInstaller *inst
,const gchar *pkgid
,GError **error
);
Install software from a repository.
gchar *
li_installer_get_appstream_data (LiInstaller *inst
);
Dump of AppStream XML data describing the software which will be installed.
LiTrustLevel li_installer_get_package_trust_level (LiInstaller *inst
,GError **error
);
void li_installer_set_ignore_foundations (LiInstaller *inst
,gboolean ignore
);
inst |
An instance of LiInstaller |
|
ignore |
|
void li_installer_set_allow_insecure (LiInstaller *inst
,gboolean insecure
);
Set if the installer shoule be allowed to install packages with insecure trust levels (LOW or NONE), by performng no trust checks at all. This is off by default, do only ever enable it after warning the user about the danger of installing untrusted software.
inst |
An instance of LiInstaller |
|
insecure |
Set |
“progress”
signalvoid user_function (LiInstaller *liinstaller, guint arg1, gpointer arg2, gpointer user_data)
liinstaller |
the object which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“stage-changed”
signalvoid user_function (LiInstaller *liinstaller, guint arg1, gpointer arg2, gpointer user_data)
liinstaller |
the object which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last