summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 94500ef)
raw | patch | inline | side by side (parent: 94500ef)
author | Sebastian Harl <sh@tokkee.org> | |
Mon, 30 Sep 2013 16:19:36 +0000 (18:19 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Mon, 30 Sep 2013 16:19:36 +0000 (18:19 +0200) |
src/include/utils/llist.h | patch | blob | history |
index bd44d44c5053870b726b575ee7452a909e03d149..298c6ceb8779e9238ade411ca1a3ffb622a41545 100644 (file)
/*
* sdb_llist_search:
- * Search for a 'key' in the given 'list'. The function will return the first
- * entry that matches the specified 'key'. For that purpose, the 'compare'
- * function is used. It should return 0 iff the two arguments compare equal.
+ * Search for a object in the given 'list'. The function will return the first
+ * entry for which the 'lookup' callback returns 0. The 'user_data' is passed
+ * on to the lookup function on each invocation.
*
* Returns:
* - a pointer to the first matching object