Crate alpm_sys_ll
source · [−]Modules
Structs
Local package or package file backup entry
A conflict that has occurred between two packages.
The basic dependency type.
Missing dependency.
Context struct for when a download completes.
Context struct for when a download starts.
Context struct for when a download progresses.
Context struct for when a download retries.
An event that may represent any event.
A database is missing.
A pre/post transaction hook was ran.
pre/post transaction hooks are to be ran.
An optional dependency was removed.
A package operation event occurred.
A pacnew file was created.
A pacsave file was created.
Packages downloading about to start.
A package was downloaded.
A scriptlet was ran.
File in a package
File conflict.
Package filelist container
Package group
A PGP key
A question that can represent any other question.
Should a conflicting package be removed?
Should a corrupted package be deleted?
Should a key be imported?
Should target in ignorepkg be installed anyway?
Should unresolvable targets be removed from the transaction?
Should a package be replaced?
Provider selection
Signature list. Contains the number of signatures found and a pointer to an array of results. The array is of size count.
Signature result. Contains the key, status, and validity of a given signature.
Enums
Types of version constraints in dependency specs.
File download events. These events are reported by ALPM via download callback.
libalpm’s error type
Type of events.
File conflict type. Whether the conflict results from a file existing on the filesystem, or with another target in the transaction.
Kind of hook.
An enum over the kind of package operations.
Location a package object was loaded from.
Package install reasons.
An enum over different kinds of progress alerts.
PGP signature verification status return codes
The trust level of a PGP key
Types of version constraints in dependency specs.
File download events. These events are reported by ALPM via download callback.
libalpm’s error type
Type of events.
File conflict type. Whether the conflict results from a file existing on the filesystem, or with another target in the transaction.
Kind of hook.
An enum over the kind of package operations.
Location a package object was loaded from.
Package install reasons.
An enum over different kinds of progress alerts.
PGP signature verification status return codes
The trust level of a PGP key
Type Definitions
Local package or package file backup entry
Type of download progress callbacks. @param ctx user-provided context @param filename the name of the file being downloaded @param event the event type @param data the event data of type alpm_download_event_*_t
Event callback.
A callback for downloading files @param ctx user-provided context @param url the URL of the file to be downloaded @param localpath the directory to which the file should be downloaded @param force whether to force an update, even if the file is the same @return 0 on success, 1 if the file exists and is identical, -1 on error.
The callback type for logging.
Progress callback
Question callback.
A conflict that has occurred between two packages.
A database.
The usage level of a database.
The basic dependency type.
Missing dependency.
Context struct for when a download completes.
Context struct for when a download starts.
Context struct for when a download progresses.
Context struct for when a download retries.
An event that may represent any event.
A database is missing.
A pre/post transaction hook was ran.
pre/post transaction hooks are to be ran.
An optional dependency was removed.
A package operation event occurred.
A pacnew file was created.
A pacsave file was created.
Packages downloading about to start.
A package was downloaded.
A scriptlet was ran.
Events. This is a union passed to the callback that allows the frontend to know which type of event was triggered (via type). It is then possible to typecast the pointer to the right structure, or use the union field, in order to access event-specific data.
File in a package
File conflict.
Package filelist container
Package group
The libalpm context handle.
Logging Levels
A PGP key
A package.
Method used to validate a package.
A question that can represent any other question.
Should a conflicting package be removed?
Should a corrupted package be deleted?
Should a key be imported?
Should target in ignorepkg be installed anyway?
Should unresolvable targets be removed from the transaction?
Should a package be replaced?
Provider selection
Questions. This is an union passed to the callback that allows the frontend to know which type of question was triggered (via type). It is then possible to typecast the pointer to the right structure, or use the union field, in order to access question-specific data.
Type of question. Unlike the events or progress enumerations, this enum has bitmask values so a frontend can use a bitmask map to supply preselected answers to the different types of questions.
PGP signature verification options
Signature list. Contains the number of signatures found and a pointer to an array of results. The array is of size count.
Signature result. Contains the key, status, and validity of a given signature.
The time type used by libalpm. Represents a unix time stamp @ingroup libalpm_misc
Transaction structure used internally by libalpm @ingroup libalpm_trans
Transaction flags
Unions
Events. This is a union passed to the callback that allows the frontend to know which type of event was triggered (via type). It is then possible to typecast the pointer to the right structure, or use the union field, in order to access event-specific data.
Questions. This is an union passed to the callback that allows the frontend to know which type of question was triggered (via type). It is then possible to typecast the pointer to the right structure, or use the union field, in order to access question-specific data.