summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/log.h')
-rw-r--r--lib/libalpm/log.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libalpm/log.h b/lib/libalpm/log.h
index bfdc15d7..da1d9966 100644
--- a/lib/libalpm/log.h
+++ b/lib/libalpm/log.h
@@ -23,6 +23,11 @@
#define LOG_STR_LEN 256
+typedef void (*alpm_cb_log)(unsigned short, char *);
+
+extern alpm_cb_log pm_logcb;
+extern unsigned char pm_logmask;
+
void _alpm_log(unsigned char flag, char *fmt, ...);
#endif /* _ALPM_LOG_H */