From c1abeae76c2135185e553dda6d9bec78a41fa894 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Mon, 30 Sep 2013 18:19:36 +0200 Subject: [PATCH] utils llist: Updated documentation. --- src/include/utils/llist.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.30.2