index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Nagy Gabor <ngaba@bibl.u-szeged.hu> | 2007-11-16 20:50:58 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-11-17 09:44:48 -0600 |
commit | d311ad067f47608252b9276df90087db98b1100f (patch) | |
tree | 3b51cb2d4949d1bfdca0afcc88ca3a4be2ada4fa /lib/libalpm/alpm_list.h | |
parent | 04b7d2ad140058a7cab911fb77ec0285bf76b059 (diff) |
-rw-r--r-- | lib/libalpm/alpm_list.h | 5 |
diff --git a/lib/libalpm/alpm_list.h b/lib/libalpm/alpm_list.h index d6e9882b..a24aa8db 100644 --- a/lib/libalpm/alpm_list.h +++ b/lib/libalpm/alpm_list.h @@ -72,8 +72,9 @@ void *alpm_list_getdata(const alpm_list_t *entry); /* misc */ int alpm_list_count(const alpm_list_t *list); -int alpm_list_find(const alpm_list_t *haystack, const void *needle); -int alpm_list_find_str(const alpm_list_t *haystack,const char *needle); +int alpm_list_find(const alpm_list_t *haystack, const void *needle, alpm_list_fn_cmp fn); +int alpm_list_find_ptr(const alpm_list_t *haystack, const void *needle); +int alpm_list_find_str(const alpm_list_t *haystack, const char *needle); alpm_list_t *alpm_list_diff(const alpm_list_t *lhs, const alpm_list_t *rhs, alpm_list_fn_cmp fn); #ifdef __cplusplus |