summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-03-16 20:46:30 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-03-16 20:46:30 +0000
commitd8cdd54a206a87a41ce66360f132e2d854a45af2 (patch)
tree7734cca5e815597dbc83754fe55bab66d7f73a95 /lib/libalpm/alpm.h
parent03558450c5634e53e607c641f0fa0c5e98d7b4f7 (diff)
downloadpacman-d8cdd54a206a87a41ce66360f132e2d854a45af2.tar.xz
Moved log callback definition to alpm.h
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r--lib/libalpm/alpm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index c5df0d47..a2337576 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -61,6 +61,9 @@ int alpm_release();
#define PM_LOG_FLOW2 0x10
#define PM_LOG_FUNCTION 0x20
+/* Log callback */
+typedef void (*alpm_cb_log)(unsigned short, char *);
+
int alpm_logaction(char *fmt, ...);
/*
@@ -209,7 +212,7 @@ enum {
PM_TRANS_EVT_UPGRADE_DONE
};
-/* Callback */
+/* Event callback */
typedef void (*alpm_trans_cb)(unsigned short, void *, void *);
/* Info parameters */