summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/list.h')
-rw-r--r--lib/libalpm/list.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libalpm/list.h b/lib/libalpm/list.h
index d1cdb385..706e61b8 100644
--- a/lib/libalpm/list.h
+++ b/lib/libalpm/list.h
@@ -31,7 +31,7 @@ typedef struct __pmlist_t {
typedef struct __pmlist_t PMList;
-#define FREELIST(p) do { if(p) { pm_list_free(p); p = NULL; } } while(0)
+#define FREELIST(p) do { if(p) { _alpm_list_free(p); p = NULL; } } while(0)
#define FREELISTPTR(p) do { \
PMList *i; \
for(i = p; i; i = i->next) { \
@@ -43,15 +43,15 @@ typedef struct __pmlist_t PMList;
/* Sort comparison callback function declaration */
typedef int (*pm_fn_cmp) (const void *, const void *);
-PMList *pm_list_new(void);
-void pm_list_free(PMList *list);
+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);
-int pm_list_count(PMList *list);
+int _alpm_list_count(PMList *list);
int pm_list_is_in(void *needle, PMList *haystack);
PMList *pm_list_is_strin(char *needle, PMList *haystack);
-PMList *pm_list_last(PMList *list);
+PMList *_alpm_list_last(PMList *list);
PMList *_alpm_list_remove_dupes(PMList *list);
PMList *_alpm_list_reverse(PMList *list);
PMList *_alpm_list_strdup(PMList *list);