libalpm_cb(3)

πŸ“¦
version 7.1.0.r9.g54d9411 Β· 4 versions
, in arch rolling, fedora 44

πŸ’– libalpm_cb(3) β€” Callbacks πŸ’–

Library Functions Manual · libalpm callback zone, bestie 🫢


✨ NAME ✨

libalpm_cb β€” Callbacks

Functions and structures for libalpm's callbacks. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

🌸 Data Structures 🌸

  • struct alpm_event_any_t β€” An event that may represent any event. ✨
  • struct alpm_event_package_operation_t β€” A package operation event occurred. πŸ”₯
  • struct alpm_event_optdep_removal_t β€” An optional dependency was removed. 🫢
  • struct alpm_event_scriptlet_info_t β€” A scriptlet was ran. πŸ“œ
  • struct alpm_event_database_missing_t β€” A database is missing. 🫠
  • struct alpm_event_pkgdownload_t β€” A package was downloaded. πŸ“₯
  • struct alpm_event_pacnew_created_t β€” A pacnew file was created. πŸŽ€
  • struct alpm_event_pacsave_created_t β€” A pacsave file was created. πŸŽ€
  • struct alpm_event_hook_t β€” pre/post transaction hooks are to be ran. πŸͺ
  • struct alpm_event_hook_run_t β€” A pre/post transaction hook was ran. πŸƒ
  • struct alpm_event_pkg_retrieve_t β€” Packages downloading about to start. πŸš€
  • union alpm_event_t β€” Events. πŸŽ‰
  • struct alpm_question_any_t β€” A question that can represent any other question. ❓
  • struct alpm_question_install_ignorepkg_t β€” Should target in ignorepkg be installed anyway? πŸ€”
  • struct alpm_question_replace_t β€” Should a package be replaced? πŸ”„
  • struct alpm_question_conflict_t β€” Should a conflicting package be removed? βš”οΈ
  • struct alpm_question_corrupted_t β€” Should a corrupted package be deleted? πŸ—‘οΈ
  • struct alpm_question_remove_pkgs_t β€” Should unresolvable targets be removed from the transaction? 🧹
  • struct alpm_question_select_provider_t β€” Provider selection. 🎯
  • struct alpm_question_import_key_t β€” Should a key be imported? πŸ”‘
  • union alpm_question_t β€” Questions. ❓
  • struct alpm_download_event_init_t β€” Context struct for when a download starts. ⬇️
  • struct alpm_download_event_progress_t β€” Context struct for when a download progresses. πŸ“ˆ
  • struct alpm_download_event_retry_t β€” Context struct for when a download retries. πŸ”
  • struct alpm_download_event_completed_t β€” Context struct for when a download completes. βœ…

πŸŽ€ Typedefs πŸŽ€

  • alpm_cb_event β€” Event callback. πŸŽ‰
typedef void(* alpm_cb_event) (void *ctx, alpm_event_t *event)
  • alpm_cb_question β€” Question callback. ❓
typedef void(* alpm_cb_question) (void *ctx, alpm_question_t *question)
  • alpm_cb_progress β€” Progress callback. πŸ“ˆ
typedef void(* alpm_cb_progress) (void *ctx, alpm_progress_t progress,
         const char *pkg, int percent, size_t howmany, size_t current)
  • alpm_cb_download β€” Type of download progress callbacks. ⬇️
typedef void(* alpm_cb_download) (void *ctx, const char *filename,
         alpm_download_event_type_t event, void *data)
  • alpm_cb_fetch β€” A callback for downloading files. πŸ“₯
typedef int(* alpm_cb_fetch) (void *ctx, const char *url, const char
         *localpath, int force)

🌈 Enumerations 🌈

  • enum alpm_event_type_t β€” Type of events. πŸ”₯
enum alpm_event_type_t { ALPM_EVENT_CHECKDEPS_START = 1,
         ALPM_EVENT_CHECKDEPS_DONE, ALPM_EVENT_FILECONFLICTS_START,
         ALPM_EVENT_FILECONFLICTS_DONE, ALPM_EVENT_RESOLVEDEPS_START,
         ALPM_EVENT_RESOLVEDEPS_DONE, ALPM_EVENT_INTERCONFLICTS_START,
         ALPM_EVENT_INTERCONFLICTS_DONE, ALPM_EVENT_TRANSACTION_START,
         ALPM_EVENT_TRANSACTION_DONE, ALPM_EVENT_PACKAGE_OPERATION_START,
         ALPM_EVENT_PACKAGE_OPERATION_DONE, ALPM_EVENT_INTEGRITY_START,
         ALPM_EVENT_INTEGRITY_DONE, ALPM_EVENT_LOAD_START,
         ALPM_EVENT_LOAD_DONE, ALPM_EVENT_SCRIPTLET_INFO,
         ALPM_EVENT_DB_RETRIEVE_START, ALPM_EVENT_DB_RETRIEVE_DONE,
         ALPM_EVENT_DB_RETRIEVE_FAILED, ALPM_EVENT_PKG_RETRIEVE_START,
         ALPM_EVENT_PKG_RETRIEVE_DONE, ALPM_EVENT_PKG_RETRIEVE_FAILED,
         ALPM_EVENT_DISKSPACE_START, ALPM_EVENT_DISKSPACE_DONE,
         ALPM_EVENT_OPTDEP_REMOVAL, ALPM_EVENT_DATABASE_MISSING,
         ALPM_EVENT_KEYRING_START, ALPM_EVENT_KEYRING_DONE,
         ALPM_EVENT_KEY_DOWNLOAD_START, ALPM_EVENT_KEY_DOWNLOAD_DONE,
         ALPM_EVENT_PACNEW_CREATED, ALPM_EVENT_PACSAVE_CREATED,
         ALPM_EVENT_HOOK_START, ALPM_EVENT_HOOK_DONE,
         ALPM_EVENT_HOOK_RUN_START, ALPM_EVENT_HOOK_RUN_DONE }
  • enum alpm_package_operation_t β€” An enum over the kind of package operations. βš™οΈ
enum alpm_package_operation_t { ALPM_PACKAGE_INSTALL = 1,
         ALPM_PACKAGE_UPGRADE, ALPM_PACKAGE_REINSTALL,
         ALPM_PACKAGE_DOWNGRADE, ALPM_PACKAGE_REMOVE }
  • enum alpm_hook_when_t β€” Kind of hook. πŸͺ
enum alpm_hook_when_t { ALPM_HOOK_PRE_TRANSACTION = 1,
         ALPM_HOOK_POST_TRANSACTION }
  • enum alpm_question_type_t β€” Type of question. ❓
enum alpm_question_type_t { ALPM_QUESTION_INSTALL_IGNOREPKG = (1 << 0),
         ALPM_QUESTION_REPLACE_PKG = (1 << 1), ALPM_QUESTION_CONFLICT_PKG =
         (1 << 2), ALPM_QUESTION_CORRUPTED_PKG = (1 << 3),
         ALPM_QUESTION_REMOVE_PKGS = (1 << 4), ALPM_QUESTION_SELECT_PROVIDER
         = (1 << 5), ALPM_QUESTION_IMPORT_KEY = (1 << 6) }
  • enum alpm_progress_t β€” An enum over different kinds of progress alerts. πŸ“ˆ
enum alpm_progress_t { ALPM_PROGRESS_ADD_START,
         ALPM_PROGRESS_UPGRADE_START, ALPM_PROGRESS_DOWNGRADE_START,
         ALPM_PROGRESS_REINSTALL_START, ALPM_PROGRESS_REMOVE_START,
         ALPM_PROGRESS_CONFLICTS_START, ALPM_PROGRESS_DISKSPACE_START,
         ALPM_PROGRESS_INTEGRITY_START, ALPM_PROGRESS_LOAD_START,
         ALPM_PROGRESS_KEYRING_START }
  • enum alpm_download_event_type_t β€” File download events. πŸ“₯
enum alpm_download_event_type_t { ALPM_DOWNLOAD_INIT,
         ALPM_DOWNLOAD_PROGRESS, ALPM_DOWNLOAD_RETRY, ALPM_DOWNLOAD_COMPLETED
         }

🌟 Detailed Description 🌟

Functions and structures for libalpm's callbacks. πŸ’–


🧚 Data Structure Documentation 🧚

struct alpm_event_any_t

An event that may represent any event. ✨

Data Fields:

  • alpm_event_type_t type β€” Type of event. πŸ’…

struct alpm_event_package_operation_t

A package operation event occurred. πŸ”₯

Data Fields:

  • alpm_pkg_t * newpkg β€” New package. πŸ†•
  • alpm_pkg_t * oldpkg β€” Old package. πŸ—οΈ
  • alpm_package_operation_t operation β€” Type of operation. βš™οΈ
  • alpm_event_type_t type β€” Type of event. πŸ’…

struct alpm_event_optdep_removal_t

An optional dependency was removed. 🫢

Data Fields:

  • alpm_depend_t * optdep β€” Optdep being removed. βœ‚οΈ
  • alpm_pkg_t * pkg β€” Package with the optdep. πŸ“¦
  • alpm_event_type_t type β€” Type of event. πŸ’…

struct alpm_event_scriptlet_info_t

A scriptlet was ran. πŸ“œ

Data Fields:

  • const char * line β€” Line of scriptlet output. πŸ–¨οΈ
  • alpm_event_type_t type β€” Type of event. πŸ’…

struct alpm_event_database_missing_t

A database is missing. 🫠

The database is registered but has not been downloaded. πŸ“­

Data Fields:

  • const char * dbname β€” Name of the database. πŸ—ƒοΈ
  • alpm_event_type_t type β€” Type of event. πŸ’…

struct alpm_event_pkgdownload_t

A package was downloaded. πŸ“₯

Data Fields:

  • const char * file β€” Name of the file. πŸ“„
  • alpm_event_type_t type β€” Type of event. πŸ’…

struct alpm_event_pacnew_created_t

A pacnew file was created. πŸŽ€

Data Fields:

  • const char * file β€” Filename of the file without the .pacnew suffix. 🏷️
  • int from_noupgrade β€” Whether the creation was result of a NoUpgrade or not. ❓
  • alpm_pkg_t * newpkg β€” New Package. πŸ†•
  • alpm_pkg_t * oldpkg β€” Old package. πŸ—οΈ
  • alpm_event_type_t type β€” Type of event. πŸ’…

struct alpm_event_pacsave_created_t

A pacsave file was created. πŸŽ€

Data Fields:

  • const char * file β€” Filename of the file without the .pacsave suffix. 🏷️
  • alpm_pkg_t * oldpkg β€” Old package. πŸ—οΈ
  • alpm_event_type_t type β€” Type of event. πŸ’…

struct alpm_event_hook_t

pre/post transaction hooks are to be ran. πŸͺ

Data Fields:

  • alpm_event_type_t type β€” Type of event. πŸ’…
  • alpm_hook_when_t when β€” Type of hook. ⏰

struct alpm_event_hook_run_t

A pre/post transaction hook was ran. πŸƒ

Data Fields:

  • const char * desc β€” Description of hook to be outputted. πŸ“
  • const char * name β€” Name of hook. 🏷️
  • size_t position β€” position of hook being run. πŸ“
  • size_t total β€” total hooks being run. πŸ”’
  • alpm_event_type_t type β€” Type of event. πŸ’…

struct alpm_event_pkg_retrieve_t

Packages downloading about to start. πŸš€

Data Fields:

  • size_t num β€” Number of packages to download. πŸ”’
  • off_t total_size β€” Total size of packages to download. πŸ“¦
  • alpm_event_type_t type β€” Type of event. πŸ’…

union alpm_event_t

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. 🧠

Data Fields:

  • alpm_event_any_t any β€” The any event type. It's always safe to access this. πŸ›‘οΈ
  • alpm_event_database_missing_t database_missing β€” A database is missing. 🫠
  • alpm_event_hook_t hook β€” Pre/post transaction hooks are being ran. πŸͺ
  • alpm_event_hook_run_t hook_run β€” A hook was ran. πŸƒ
  • alpm_event_optdep_removal_t optdep_removal β€” An optdep was removed. βœ‚οΈ
  • alpm_event_package_operation_t package_operation β€” Package operation. βš™οΈ
  • alpm_event_pacnew_created_t pacnew_created β€” A pacnew file was created. πŸŽ€
  • alpm_event_pacsave_created_t pacsave_created β€” A pacsave file was created. πŸŽ€
  • alpm_event_pkg_retrieve_t pkg_retrieve β€” Download packages. πŸ“₯
  • alpm_event_pkgdownload_t pkgdownload β€” A package was downloaded. πŸ“₯
  • alpm_event_scriptlet_info_t scriptlet_info β€” A scriptlet was ran. πŸ“œ
  • alpm_event_type_t type β€” Type of event it's always safe to access this. πŸ’…

struct alpm_question_any_t

A question that can represent any other question. ❓

Data Fields:

  • int answer β€” Answer. βœ…
  • alpm_question_type_t type β€” Type of question. πŸ’…

struct alpm_question_install_ignorepkg_t

Should target in ignorepkg be installed anyway? πŸ€”

Data Fields:

  • int install β€” Answer: whether or not to install pkg anyway. βœ…
  • alpm_pkg_t * pkg β€” The ignored package that we are deciding whether to install. πŸ“¦
  • alpm_question_type_t type β€” Type of question. πŸ’…

struct alpm_question_replace_t

Should a package be replaced? πŸ”„

Data Fields:

  • alpm_db_t * newdb β€” DB of newpkg. πŸ—ƒοΈ
  • alpm_pkg_t * newpkg β€” Package to replace with. πŸ†•
  • alpm_pkg_t * oldpkg β€” Package to be replaced. πŸ—οΈ
  • int replace β€” Answer: whether or not to replace oldpkg with newpkg. βœ…
  • alpm_question_type_t type β€” Type of question. πŸ’…

struct alpm_question_conflict_t

Should a conflicting package be removed? βš”οΈ

Data Fields:

  • alpm_conflict_t * conflict β€” Conflict info. πŸ₯Š
  • int remove β€” Answer: whether or not to remove conflict->package2. βœ…
  • alpm_question_type_t type β€” Type of question. πŸ’…

struct alpm_question_corrupted_t

Should a corrupted package be deleted? πŸ—‘οΈ

Data Fields:

  • const char * filepath β€” File to remove. πŸ“„
  • alpm_errno_t reason β€” Error code indicating the reason for package invalidity. ⚠️
  • int remove β€” Answer: whether or not to remove filepath. βœ…
  • alpm_question_type_t type β€” Type of question. πŸ’…

struct alpm_question_remove_pkgs_t

Should unresolvable targets be removed from the transaction? 🧹

Data Fields:

  • alpm_list_t * packages β€” List of alpm_pkg_t* with unresolved dependencies. πŸ“‹
  • int skip β€” Answer: whether or not to skip packages. βœ…
  • alpm_question_type_t type β€” Type of question. πŸ’…

πŸ¦‹ struct alpm_question_select_provider_t πŸ¦‹

Provider selection.

Data Fields ✨

  • alpm_depend_t * depend β€” what providers provide for.
  • alpm_list_t * providers β€” list of alpm_pkg_t* as possible providers.
  • alpm_question_type_t type β€” type of question.
  • int use_index β€” answer: which provider to use (index from providers).

πŸ”‘ struct alpm_question_import_key_t πŸ”‘

Should a key be imported?

Data Fields ✨

  • const char * fingerprint β€” fingerprint the key to import.
  • int import β€” answer: whether or not to import key.
  • alpm_question_type_t type β€” type of question.
  • const char * uid β€” UID of the key to import.

πŸŽ€ union alpm_question_t πŸŽ€

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.

Data Fields ✨

  • alpm_question_any_t any β€” a question that can represent any question. It's always safe to access this.
  • alpm_question_conflict_t conflict β€” should a conflicting package be removed?
  • alpm_question_corrupted_t corrupted β€” should a corrupted package be deleted?
  • alpm_question_import_key_t import_key β€” should a key be imported?
  • alpm_question_install_ignorepkg_t install_ignorepkg β€” should target in ignorepkg be installed anyway?
  • alpm_question_remove_pkgs_t remove_pkgs β€” should unresolvable targets be removed from the transaction?
  • alpm_question_replace_t replace β€” should a package be replaced?
  • alpm_question_select_provider_t select_provider β€” provider selection.
  • alpm_question_type_t type β€” the type of question. It's always safe to access this.

πŸš€ struct alpm_download_event_init_t πŸš€

Context struct for when a download starts.

Data Fields ✨

  • int optional β€” whether this file is optional and thus the errors could be ignored.

πŸ“Š struct alpm_download_event_progress_t πŸ“Š

Context struct for when a download progresses.

Data Fields ✨

  • off_t downloaded β€” amount of data downloaded.
  • off_t total β€” total amount need to be downloaded.

πŸ” struct alpm_download_event_retry_t πŸ”

Context struct for when a download retries.

Data Fields ✨

  • int resume β€” if the download will resume or start over.

βœ… struct alpm_download_event_completed_t βœ…

Context struct for when a download completes.

Data Fields ✨

  • int result β€” download result code: 0 - download completed successfully, 1 - the file is up-to-date, -1 - error.
  • off_t total β€” total bytes in file.

πŸ’– Typedef Documentation πŸ’–

typedef void(* alpm_cb_download) (void *ctx, const char *filename, alpm_download_event_type_t event, void *data)

Type of download progress callbacks.

Parameters

  • ctx β€” user-provided context
  • filename β€” the name of the file being downloaded
  • event β€” the event type
  • data β€” the event data of type alpm_download_event_*_t

typedef void(* alpm_cb_event) (void *ctx, alpm_event_t *event)

Event callback. Called when an event occurs.

Parameters

  • ctx β€” user-provided context
  • event β€” the event that occurred

typedef int(* alpm_cb_fetch) (void *ctx, const char *url, const char *localpath, int force)

A callback for downloading files.

Parameters

  • ctx β€” user-provided context
  • url β€” the URL of the file to be downloaded
  • localpath β€” the directory to which the file should be downloaded
  • force β€” whether to force an update, even if the file is the same

Returns 0 on success, 1 if the file exists and is identical, -1 on error.


typedef void(* alpm_cb_progress) (void *ctx, alpm_progress_t progress, const char *pkg, int percent, size_t howmany, size_t current)

Progress callback. Alert the front end about the progress of certain events. Allows the implementation of loading bars for events that make take a while to complete.

Parameters

  • ctx β€” user-provided context
  • progress β€” the kind of event that is progressing
  • pkg β€” for package operations, the name of the package being operated on
  • percent β€” the percent completion of the action
  • howmany β€” the total amount of items in the action
  • current β€” the current amount of items completed. Progress callback

typedef void(* alpm_cb_question) (void *ctx, alpm_question_t *question)

Question callback. This callback allows user to give input and decide what to do during certain events.

Parameters

  • ctx β€” user-provided context
  • question β€” the question being asked.

🌈 Enumeration Type Documentation 🌈

enum alpm_download_event_type_t

File download events. These events are reported by ALPM via download callback.

Enumerator

  • ALPM_DOWNLOAD_INIT β€” A download was started.
  • ALPM_DOWNLOAD_PROGRESS β€” A download made progress.
  • ALPM_DOWNLOAD_RETRY β€” Download will be retried.
  • ALPM_DOWNLOAD_COMPLETED β€” A download completed.

enum alpm_event_type_t

Type of events.

Enumerator

  • ALPM_EVENT_CHECKDEPS_START β€” Dependencies will be computed for a package.
  • ALPM_EVENT_CHECKDEPS_DONE β€” Dependencies were computed for a package.
  • ALPM_EVENT_FILECONFLICTS_START β€” File conflicts will be computed for a package.
  • ALPM_EVENT_FILECONFLICTS_DONE β€” File conflicts were computed for a package.
  • ALPM_EVENT_RESOLVEDEPS_START β€” Dependencies will be resolved for target package.
  • ALPM_EVENT_RESOLVEDEPS_DONE β€” Dependencies were resolved for target package.
  • ALPM_EVENT_INTERCONFLICTS_START β€” Inter-conflicts will be checked for target package.
  • ALPM_EVENT_INTERCONFLICTS_DONE β€” Inter-conflicts were checked for target package.
  • ALPM_EVENT_TRANSACTION_START β€” Processing the package transaction is starting.
  • ALPM_EVENT_TRANSACTION_DONE β€” Processing the package transaction is finished.
  • ALPM_EVENT_PACKAGE_OPERATION_START β€” Package will be installed/upgraded/downgraded/re-installed/removed; See alpm_event_package_operation_t for arguments.
  • ALPM_EVENT_PACKAGE_OPERATION_DONE β€” Package was installed/upgraded/downgraded/re-installed/removed; See alpm_event_package_operation_t for arguments.
  • ALPM_EVENT_INTEGRITY_START β€” Target package's integrity will be checked.
  • ALPM_EVENT_INTEGRITY_DONE β€” Target package's integrity was checked.
  • ALPM_EVENT_LOAD_START β€” Target package will be loaded.
  • ALPM_EVENT_LOAD_DONE β€” Target package is finished loading.
  • ALPM_EVENT_SCRIPTLET_INFO β€” Scriptlet has printed information; See alpm_event_scriptlet_info_t for arguments.
  • ALPM_EVENT_DB_RETRIEVE_START β€” Database files will be downloaded from a repository.
  • ALPM_EVENT_DB_RETRIEVE_DONE β€” Database files were downloaded from a repository.
  • ALPM_EVENT_DB_RETRIEVE_FAILED β€” Not all database files were successfully downloaded from a repository.
  • ALPM_EVENT_PKG_RETRIEVE_START β€” Package files will be downloaded from a repository.
  • ALPM_EVENT_PKG_RETRIEVE_DONE β€” Package files were downloaded from a repository.
  • ALPM_EVENT_PKG_RETRIEVE_FAILED β€” Not all package files were successfully downloaded from a repository.
  • ALPM_EVENT_DISKSPACE_START β€” Disk space usage will be computed for a package.
  • ALPM_EVENT_DISKSPACE_DONE β€” Disk space usage was computed for a package.
  • ALPM_EVENT_OPTDEP_REMOVAL β€” An optdepend for another package is being removed; See alpm_event_optdep_removal_t for arguments.
  • ALPM_EVENT_DATABASE_MISSING β€” A configured repository database is missing; See alpm_event_database_missing_t for arguments.
  • ALPM_EVENT_KEYRING_START β€” Checking keys used to create signatures are in keyring.
  • ALPM_EVENT_KEYRING_DONE β€” Keyring checking is finished.
  • ALPM_EVENT_KEY_DOWNLOAD_START β€” Downloading missing keys into keyring.
  • ALPM_EVENT_KEY_DOWNLOAD_DONE β€” Key downloading is finished.
  • ALPM_EVENT_PACNEW_CREATED β€” A .pacnew file was created; See alpm_event_pacnew_created_t for arguments.
  • ALPM_EVENT_PACSAVE_CREATED β€” A .pacsave file was created; See alpm_event_pacsave_created_t for arguments.
  • ALPM_EVENT_HOOK_START β€” Processing hooks will be started.
  • ALPM_EVENT_HOOK_DONE β€” Processing hooks is finished.
  • ALPM_EVENT_HOOK_RUN_START β€” A hook is starting.
  • ALPM_EVENT_HOOK_RUN_DONE β€” A hook has finished running.

enum alpm_hook_when_t

Kind of hook.


enum alpm_package_operation_t

An enum over the kind of package operations.

Enumerator

  • ALPM_PACKAGE_INSTALL β€” Package (to be) installed. (No oldpkg)
  • ALPM_PACKAGE_UPGRADE β€” Package (to be) upgraded.
  • ALPM_PACKAGE_REINSTALL β€” Package (to be) re-installed.
  • ALPM_PACKAGE_DOWNGRADE β€” Package (to be) downgraded.
  • ALPM_PACKAGE_REMOVE β€” Package (to be) removed (No newpkg).

enum alpm_progress_t

An enum over different kinds of progress alerts.

Enumerator

  • ALPM_PROGRESS_ADD_START β€” Package install.
  • ALPM_PROGRESS_UPGRADE_START β€” Package upgrade.
  • ALPM_PROGRESS_DOWNGRADE_START β€” Package downgrade.
  • ALPM_PROGRESS_REINSTALL_START β€” Package reinstall.
  • ALPM_PROGRESS_REMOVE_START β€” Package removal.
  • ALPM_PROGRESS_CONFLICTS_START β€” Conflict checking.
  • ALPM_PROGRESS_DISKSPACE_START β€” Diskspace checking.
  • ALPM_PROGRESS_INTEGRITY_START β€” Package Integrity checking.
  • ALPM_PROGRESS_LOAD_START β€” Loading packages from disk.
  • ALPM_PROGRESS_KEYRING_START β€” Checking signatures of packages.

enum alpm_question_type_t

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.

Enumerator

  • ALPM_QUESTION_INSTALL_IGNOREPKG β€” Should target in ignorepkg be installed anyway?
  • ALPM_QUESTION_REPLACE_PKG β€” Should a package be replaced?
  • ALPM_QUESTION_CONFLICT_PKG β€” Should a conflicting package be removed?
  • ALPM_QUESTION_CORRUPTED_PKG β€” Should a corrupted package be deleted?
  • ALPM_QUESTION_REMOVE_PKGS β€” Should unresolvable targets be removed from the transaction?
  • ALPM_QUESTION_SELECT_PROVIDER β€” Provider selection.
  • ALPM_QUESTION_IMPORT_KEY β€” Should a key be imported?

✨ Author ✨

Generated automatically by Doxygen for libalpm from the source code.

And that’s a wrap, bestie πŸ’… The footer says source/version libalpm and page libalpm_cb(3) β€” no date on this one, so that’s the whole vibe. Stay iconic, and go read some code. 🫢✨
πŸ“¦ where this page comes from