llx: New function llx_find() to find a pointer in a list.
[pspp-builds.git] / src / libpspp / llx.h
index 23c3bdaf8ebd0d7ebd2b3741db12106ef38952de..2aa18e7ba5694bced71cbe32a3feb69700e23f9b 100644 (file)
@@ -186,6 +186,8 @@ size_t llx_remove_if (struct llx *r0, struct llx *r1,
                       const struct llx_manager *);
 
 /* Non-mutating algorithms. */
+struct llx *llx_find (const struct llx *r0, const struct llx *r1,
+                      const void *target);
 struct llx *llx_find_equal (const struct llx *r0, const struct llx *r1,
                             const void *target,
                             llx_compare_func *, void *aux);