From: Sebastian Harl Date: Mon, 30 Sep 2013 16:19:36 +0000 (+0200) Subject: utils llist: Updated documentation. X-Git-Tag: sysdb-0.1.0~336^2~67 X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=commitdiff_plain;h=c1abeae76c2135185e553dda6d9bec78a41fa894 utils llist: Updated documentation. --- diff --git a/src/include/utils/llist.h b/src/include/utils/llist.h index bd44d44..298c6ce 100644 --- a/src/include/utils/llist.h +++ b/src/include/utils/llist.h @@ -121,9 +121,9 @@ sdb_llist_insert_sorted(sdb_llist_t *list, /* * 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