diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2006-02-17 22:35:26 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-02-17 22:35:26 +0000 |
commit | be39f49a5461d5804e4391266dfea6dd076691f4 (patch) | |
tree | 911a7f550895d9fdda7b4846d6775699549b2bf4 /lib/libalpm/handle.c | |
parent | 5e4c3661c6066623bbfa34bacccfafda5be21315 (diff) | |
download | pacman-be39f49a5461d5804e4391266dfea6dd076691f4.tar.xz |
prepend library function names with _alpm (helped with the patch from VMiklos <vmiklos@frugalware.org>)
added log and event callbacks to sync_commit internal transactions
Diffstat (limited to 'lib/libalpm/handle.c')
-rw-r--r-- | lib/libalpm/handle.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |