projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
always build pgp support.
[apps/madmutt.git]
/
lib
/
list.h
diff --git
a/lib/list.h
b/lib/list.h
index
1f409ea
..
0040c4d
100644
(file)
--- a/
lib/list.h
+++ b/
lib/list.h
@@
-67,7
+67,8
@@
list2_t* list_dup (list2_t*, void* (*dup) (void*));
* index in data array otherwise
* the callback must return 0 on equality
*/
* index in data array otherwise
* the callback must return 0 on equality
*/
-int list_lookup (list2_t*, int (*cmp) (const void*, const void*), const void*);
+typedef int list_lookup_t (const void*, const void*);
+int list_lookup (list2_t*, list_lookup_t* cmp, const void*);
/*
* dumb-splits string at boundary characters into list
/*
* dumb-splits string at boundary characters into list