summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-06-28 14:41:07 +1000
committerAllan McRae <allan@archlinux.org>2011-06-28 23:28:24 +1000
commit0aef91bc4fc5e872afe7da1692bf97c027eecf37 (patch)
tree1f1ad8c2ca4cdd3aa5dd92d71347b6c2ca2d880c /lib/libalpm/alpm.h
parentcd1e39ba62ea564c1c29a918aa1a4d6aac9a351e (diff)
downloadpacman-0aef91bc4fc5e872afe7da1692bf97c027eecf37.tar.xz
Rename pmloglevel_t to alpm_loglevel_t
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r--lib/libalpm/alpm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index d8fb8349..83dad5d8 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -173,14 +173,14 @@ typedef struct _alpm_backup_t {
/**
* Logging Levels
*/
-typedef enum _pmloglevel_t {
+typedef enum _alpm_loglevel_t {
PM_LOG_ERROR = 1,
PM_LOG_WARNING = (1 << 1),
PM_LOG_DEBUG = (1 << 2),
PM_LOG_FUNCTION = (1 << 3)
-} pmloglevel_t;
+} alpm_loglevel_t;
-typedef void (*alpm_cb_log)(pmloglevel_t, const char *, va_list);
+typedef void (*alpm_cb_log)(alpm_loglevel_t, const char *, va_list);
int alpm_logaction(alpm_handle_t *handle, const char *fmt, ...);
/*