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/list.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/libalpm/list.h') 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); -- cgit v1.2.3-70-g09d2