summaryrefslogtreecommitdiff
path: root/src/pacman/conf.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-09-01 17:35:50 -0500
committerDan McGee <dan@archlinux.org>2011-09-02 21:45:08 -0500
commit98fdfa1968f81596acd25ed5b77cc968dcd97ead (patch)
treea04926263ccf75be1188a4924ed512009023bd89 /src/pacman/conf.c
parent37da18aee8d925ee5cd9f526f2c61d07e9db5b66 (diff)
Former transaction callback rename refactor
Put all the callback stuff in alpm.h in one spot, and make the following renames for clarity with the new structure: ALPM_TRANS_EVT_* --> ALPM_EVENT_* ALPM_TRANS_CONV_* --> ALPM_QUESTION_* ALPM_TRANS_PROGRESS_* --> ALPM_PROGRESS_* alpm_option_get_convcb() --> alpm_option_get_questioncb() alpm_option_set_convcb() --> alpm_option_set_questioncb() Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/conf.c')
-rw-r--r--src/pacman/conf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pacman/conf.c b/src/pacman/conf.c
index f87824c9..6587be91 100644
--- a/src/pacman/conf.c
+++ b/src/pacman/conf.c
@@ -534,9 +534,9 @@ static int setup_libalpm(void)
alpm_option_set_logcb(handle, cb_log);
alpm_option_set_dlcb(handle, cb_dl_progress);
- alpm_option_set_eventcb(handle, cb_trans_evt);
- alpm_option_set_convcb(handle, cb_trans_conv);
- alpm_option_set_progresscb(handle, cb_trans_progress);
+ alpm_option_set_eventcb(handle, cb_event);
+ alpm_option_set_questioncb(handle, cb_question);
+ alpm_option_set_progresscb(handle, cb_progress);
config->logfile = config->logfile ? config->logfile : strdup(LOGFILE);
ret = alpm_option_set_logfile(handle, config->logfile);