Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/log.h
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-10-21 01:38:59 +0000
committerAaron Griffin <aaron@archlinux.org>2006-10-21 01:38:59 +0000
commit454cf699a5eef64ccdee7b2fa6bcef610136d823 (patch)
tree7a6f811f14d39bcda86e4191001f2c9eecd003d5 /lib/libalpm/log.h
parent1568fd98d882add6c91255b331592691f399bd3f (diff)
More extern moving - keep extern decls in the headers makes for easier/better
reuse.
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 */