diff options
author | Aaron Griffin <aaron@archlinux.org> | 2007-02-09 10:10:49 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-02-09 10:10:49 +0000 |
commit | 41a8621ba0c8eda65a10e111a979d2d751bf4adc (patch) | |
tree | 8315ba4dfb07501d40a64f49f958fe0a545d6b64 /lib/libalpm/alpm.h | |
parent | eaf5ba61c7e88ab893dc87072b97080b9bcb1443 (diff) | |
download | pacman-41a8621ba0c8eda65a10e111a979d2d751bf4adc.tar.xz |
* Fixed some missing error values in strerror
* Cleanup up some error enum values
* Revamped the 'pmserver_t' functionality. Less allocation,
removed a param and cleaned up some duplicate URL parsing
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r-- | lib/libalpm/alpm.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index a5b5e1a4..231112f3 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -426,8 +426,7 @@ enum _pmerrno_t { PM_ERR_DB_WRITE, PM_ERR_DB_REMOVE, /* Servers */ - PM_ERR_SERVER_BAD_LOCATION, - PM_ERR_SERVER_PROTOCOL_UNSUPPORTED, + PM_ERR_SERVER_BAD_URL, /* Configuration */ PM_ERR_OPT_LOGFILE, PM_ERR_OPT_DBPATH, @@ -443,6 +442,7 @@ enum _pmerrno_t { PM_ERR_TRANS_ABORT, PM_ERR_TRANS_TYPE, PM_ERR_TRANS_COMMITING, + PM_ERR_TRANS_DOWNLOADING, /* Packages */ PM_ERR_PKG_NOT_FOUND, PM_ERR_PKG_INVALID, @@ -474,7 +474,6 @@ enum _pmerrno_t { PM_ERR_CONF_BAD_SYNTAX, PM_ERR_CONF_DIRECTIVE_OUTSIDE_SECTION, PM_ERR_INVALID_REGEX, - PM_ERR_TRANS_DOWNLOADING, /* Downloading */ PM_ERR_CONNECT_FAILED, PM_ERR_FORK_FAILED |