error.c File Reference

#include "config.h"
#include "error.h"
#include "util.h"
#include "alpm.h"

Include dependency graph for error.c:

Go to the source code of this file.

Functions

const char * alpm_strerrorlast (void)
const char * alpm_strerror (int err)


Function Documentation

const char* alpm_strerror ( int  err  ) 

Definition at line 36 of file error.c.

References _, PM_ERR_BADPERMS, PM_ERR_CONFLICTING_DEPS, PM_ERR_CONNECT_FAILED, PM_ERR_DB_CREATE, PM_ERR_DB_NOT_FOUND, PM_ERR_DB_NOT_NULL, PM_ERR_DB_NULL, PM_ERR_DB_OPEN, PM_ERR_DB_REMOVE, PM_ERR_DB_WRITE, PM_ERR_DLT_CORRUPTED, PM_ERR_DLT_PATCHFAILED, PM_ERR_FILE_CONFLICTS, PM_ERR_GRP_NOT_FOUND, PM_ERR_HANDLE_LOCK, PM_ERR_HANDLE_NOT_NULL, PM_ERR_HANDLE_NULL, PM_ERR_INTERNAL_ERROR, PM_ERR_INVALID_REGEX, PM_ERR_LIBARCHIVE_ERROR, PM_ERR_MEMORY, PM_ERR_NOT_A_DIR, PM_ERR_NOT_A_FILE, PM_ERR_OPT_DBPATH, PM_ERR_OPT_LOCALDB, PM_ERR_OPT_LOGFILE, PM_ERR_OPT_SYNCDB, PM_ERR_OPT_USESYSLOG, PM_ERR_PKG_CANT_FRESH, PM_ERR_PKG_CANT_REMOVE, PM_ERR_PKG_CORRUPTED, PM_ERR_PKG_HOLD, PM_ERR_PKG_INSTALLED, PM_ERR_PKG_INVALID, PM_ERR_PKG_INVALID_NAME, PM_ERR_PKG_LOAD, PM_ERR_PKG_NOT_FOUND, PM_ERR_PKG_OPEN, PM_ERR_PKG_REPO_NOT_FOUND, PM_ERR_SERVER_BAD_URL, PM_ERR_SYSTEM, PM_ERR_TRANS_ABORT, PM_ERR_TRANS_COMMITING, PM_ERR_TRANS_DOWNLOADING, PM_ERR_TRANS_DUP_TARGET, PM_ERR_TRANS_NOT_INITIALIZED, PM_ERR_TRANS_NOT_NULL, PM_ERR_TRANS_NOT_PREPARED, PM_ERR_TRANS_NULL, PM_ERR_TRANS_TYPE, PM_ERR_UNSATISFIED_DEPS, PM_ERR_USER_ABORT, and PM_ERR_WRONG_ARGS.

Referenced by alpm_strerrorlast().

Here is the caller graph for this function:

const char* alpm_strerrorlast ( void   ) 

Definition at line 31 of file error.c.

References alpm_strerror(), and pm_errno.

Referenced by main(), pacman_add(), and pacman_remove().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Mon Jan 14 23:57:09 2008 for libalpm by  doxygen 1.5.4