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/list.h | |
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/list.h')
-rw-r--r-- | lib/libalpm/list.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libalpm/list.h b/lib/libalpm/list.h index 55375314..0052efc4 100644 --- a/lib/libalpm/list.h +++ b/lib/libalpm/list.h @@ -41,16 +41,16 @@ typedef struct __pmlist_t PMList; } while(0) /* Sort comparison callback function declaration */ -typedef int (*pm_fn_cmp) (const void *, const void *); +typedef int (*_alpm_fn_cmp) (const void *, const void *); PMList *_alpm_list_new(void); void _alpm_list_free(PMList *list); -PMList *pm_list_add(PMList *list, void *data); -PMList *pm_list_add_sorted(PMList *list, void *data, pm_fn_cmp fn); -PMList *_alpm_list_remove(PMList *haystack, void *needle, pm_fn_cmp fn, void **data); +PMList *_alpm_list_add(PMList *list, void *data); +PMList *_alpm_list_add_sorted(PMList *list, void *data, _alpm_fn_cmp fn); +PMList *_alpm_list_remove(PMList *haystack, void *needle, _alpm_fn_cmp fn, void **data); int _alpm_list_count(PMList *list); -int pm_list_is_in(void *needle, PMList *haystack); -int pm_list_is_strin(char *needle, PMList *haystack); +int _alpm_list_is_in(void *needle, PMList *haystack); +int _alpm_list_is_strin(char *needle, PMList *haystack); PMList *_alpm_list_last(PMList *list); PMList *_alpm_list_remove_dupes(PMList *list); PMList *_alpm_list_reverse(PMList *list); |