summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-06-28 06:50:48 +0200
committerAllan McRae <allan@archlinux.org>2011-06-28 15:28:24 +0200
commitddad400900fbf253f6e247f51ef4aeb9d89d8643 (patch)
tree41ba168a977c3ee2b9f13b86d7d6e2b99b92aaec /lib/libalpm/alpm.h
parent1059df7486054c621423436b801681775a2596c3 (diff)
downloadpacman-ddad400900fbf253f6e247f51ef4aeb9d89d8643.tar.gz
pacman-ddad400900fbf253f6e247f51ef4aeb9d89d8643.tar.xz
Rename pmerrno_t to alpm_errno_t
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r--lib/libalpm/alpm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index cf040807..54a9ba42 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -983,7 +983,7 @@ char *alpm_compute_md5sum(const char *name);
/** @addtogroup alpm_api_errors Error Codes
* @{
*/
-enum _pmerrno_t {
+enum _alpm_errno_t {
PM_ERR_MEMORY = 1,
PM_ERR_SYSTEM,
PM_ERR_BADPERMS,
@@ -1048,16 +1048,16 @@ enum _pmerrno_t {
};
/** Returns the current error code from the handle. */
-enum _pmerrno_t alpm_errno(alpm_handle_t *handle);
+enum _alpm_errno_t alpm_errno(alpm_handle_t *handle);
/** Returns the string corresponding to an error number. */
-const char *alpm_strerror(enum _pmerrno_t err);
+const char *alpm_strerror(enum _alpm_errno_t err);
/* End of alpm_api_errors */
/** @} */
alpm_handle_t *alpm_initialize(const char *root, const char *dbpath,
- enum _pmerrno_t *err);
+ enum _alpm_errno_t *err);
int alpm_release(alpm_handle_t *handle);
const char *alpm_version(void);