---
name: "libalpm_cb"
section: "3"
platform: "linux"
package: "pacman"
version: "7.1.0.r9.g54d9411-3"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libalpm_cb"
---

# libalpm\_cb(3)

Callbacks - Functions and structures for libalpm's callbacks

## 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

typedef void(\*) **alpm\_cb\_event**(void \*ctx, **alpm\_event\_t** \*event)\
 Event callback.  typedef void(\*) **alpm\_cb\_question**(void \*ctx, **alpm\_question\_t** \*question)\
 Question callback.  typedef void(\*) **alpm\_cb\_progress**(void \*ctx, **alpm\_progress\_t** progress, const char \*pkg, int percent, size\_t howmany, size\_t current)\
 Progress callback.  typedef void(\*) **alpm\_cb\_download**(void \*ctx, const char \*filename, **alpm\_download\_event\_type\_t** event, void \*data)\
 Type of download progress callbacks.  typedef int(\*) **alpm\_cb\_fetch**(void \*ctx, const char \*url, const char \*localpath, int force)\
 A callback for downloading files.

### Enumerations

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** }\
 Type of events.  enum **alpm\_package\_operation\_t** { **ALPM\_PACKAGE\_INSTALL** = 1, **ALPM\_PACKAGE\_UPGRADE**, **ALPM\_PACKAGE\_REINSTALL**, **ALPM\_PACKAGE\_DOWNGRADE**, **ALPM\_PACKAGE\_REMOVE** }\
 An enum over the kind of package operations.  enum **alpm\_hook\_when\_t** { **ALPM\_HOOK\_PRE\_TRANSACTION** = 1, **ALPM\_HOOK\_POST\_TRANSACTION** }\
 Kind of hook.  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) }\
 Type of question.  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** }\
 An enum over different kinds of progress alerts.  enum **alpm\_download\_event\_type\_t** { **ALPM\_DOWNLOAD\_INIT**, **ALPM\_DOWNLOAD\_PROGRESS**, **ALPM\_DOWNLOAD\_RETRY**, **ALPM\_DOWNLOAD\_COMPLETED** }\
 File download events.

## 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 optdept was remove. \

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