summaryrefslogtreecommitdiffstats
path: root/src/pacman/callback.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-06-08 02:55:13 +0200
committerDan McGee <dan@archlinux.org>2007-06-09 18:57:50 +0200
commita32ca90192ea2b2df2fadb820c9e47bbaec93151 (patch)
tree7f105ea98d8fbc52ed978c7efe4a4204e33a22f2 /src/pacman/callback.h
parentfc93601b9887ec42cd71339099eadc6fb7b775e5 (diff)
downloadpacman-a32ca90192ea2b2df2fadb820c9e47bbaec93151.tar.gz
pacman-a32ca90192ea2b2df2fadb820c9e47bbaec93151.tar.xz
Remove logmask stuff from backend; switch logging callback to new pm_printf
Remove the logmask functionality from the backend as it has been moved to the frontend, and change the logging callback function to use pm_printf. In addition, make much better use of va_list- use the args list instead of a arbitrarily chosen string to print to in the logging functions. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/callback.h')
-rw-r--r--src/pacman/callback.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/callback.h b/src/pacman/callback.h
index 8494154a..742cd940 100644
--- a/src/pacman/callback.h
+++ b/src/pacman/callback.h
@@ -38,7 +38,7 @@ void cb_trans_progress(pmtransprog_t event, const char *pkgname, int percent,
void cb_dl_progress(const char *filename, int xfered, int total);
/* callback to handle messages/notifications from pacman library */
-void cb_log(pmloglevel_t level, char *msg);
+void cb_log(pmloglevel_t level, char *fmt, va_list args);
#endif /* _PM_CALLBACK_H */