summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/list.h
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-04-20 21:41:22 +0200
committerAurelien Foret <aurelien@archlinux.org>2005-04-20 21:41:22 +0200
commit170dd807f574644ee4bee31a85891e553e578ae1 (patch)
tree7eb525cc1309ea16ab928d81b501e1fd02990cd9 /lib/libalpm/list.h
parent77520f9d43ff94fc491b37f14922bb27408080e3 (diff)
downloadpacman-170dd807f574644ee4bee31a85891e553e578ae1.tar.gz
pacman-170dd807f574644ee4bee31a85891e553e578ae1.tar.xz
- fixed args order in list_is_ptrin()
Diffstat (limited to 'lib/libalpm/list.h')
-rw-r--r--lib/libalpm/list.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libalpm/list.h b/lib/libalpm/list.h
index 734a53d5..9b7d0b62 100644
--- a/lib/libalpm/list.h
+++ b/lib/libalpm/list.h
@@ -52,10 +52,11 @@ 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* list, PMList* item);
int pm_list_count(PMList *list);
-int pm_list_is_ptrin(PMList *haystack, void *needle);
+int pm_list_is_ptrin(void *needle, PMList *haystack);
PMList *pm_list_is_strin(char *needle, PMList *haystack);
PMList *pm_list_last(PMList *list);
PMList *_alpm_list_reverse(PMList *list);
+PMList *_alpm_list_strdup(PMList *list);
#endif /* _ALPM_LIST_H */