diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-10-21 03:38:59 +0200 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-10-21 03:38:59 +0200 |
commit | 454cf699a5eef64ccdee7b2fa6bcef610136d823 (patch) | |
tree | 7a6f811f14d39bcda86e4191001f2c9eecd003d5 /lib/libalpm/log.h | |
parent | 1568fd98d882add6c91255b331592691f399bd3f (diff) | |
download | pacman-454cf699a5eef64ccdee7b2fa6bcef610136d823.tar.gz pacman-454cf699a5eef64ccdee7b2fa6bcef610136d823.tar.xz |
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.h | 5 |
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 */ |