From be39f49a5461d5804e4391266dfea6dd076691f4 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Fri, 17 Feb 2006 22:35:26 +0000 Subject: prepend library function names with _alpm (helped with the patch from VMiklos ) added log and event callbacks to sync_commit internal transactions --- lib/libalpm/handle.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libalpm/handle.c') diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c index b8a6713b..8d220ada 100644 --- a/lib/libalpm/handle.c +++ b/lib/libalpm/handle.c @@ -151,7 +151,7 @@ int handle_set_option(pmhandle_t *handle, unsigned char val, unsigned long data) break; case PM_OPT_NOUPGRADE: if((char *)data && strlen((char *)data) != 0) { - handle->noupgrade = pm_list_add(handle->noupgrade, strdup((char *)data)); + handle->noupgrade = _alpm_list_add(handle->noupgrade, strdup((char *)data)); _alpm_log(PM_LOG_FLOW2, "'%s' added to PM_OPT_NOUPGRADE", (char *)data); } else { FREELIST(handle->noupgrade); @@ -160,7 +160,7 @@ int handle_set_option(pmhandle_t *handle, unsigned char val, unsigned long data) break; case PM_OPT_NOEXTRACT: if((char *)data && strlen((char *)data) != 0) { - handle->noextract = pm_list_add(handle->noextract, strdup((char *)data)); + handle->noextract = _alpm_list_add(handle->noextract, strdup((char *)data)); _alpm_log(PM_LOG_FLOW2, "'%s' added to PM_OPT_NOEXTRACT", (char *)data); } else { FREELIST(handle->noextract); @@ -169,7 +169,7 @@ int handle_set_option(pmhandle_t *handle, unsigned char val, unsigned long data) break; case PM_OPT_IGNOREPKG: if((char *)data && strlen((char *)data) != 0) { - handle->ignorepkg = pm_list_add(handle->ignorepkg, strdup((char *)data)); + handle->ignorepkg = _alpm_list_add(handle->ignorepkg, strdup((char *)data)); _alpm_log(PM_LOG_FLOW2, "'%s' added to PM_OPT_IGNOREPKG", (char *)data); } else { FREELIST(handle->ignorepkg); -- cgit v1.2.3-54-g00ecf