Add bounded list search operations.
[gnulib.git] / lib / gl_linked_list.c
index 89038aa..546766d 100644 (file)
@@ -42,8 +42,8 @@ const struct gl_list_implementation gl_linked_list_implementation =
     gl_linked_previous_node,
     gl_linked_get_at,
     gl_linked_set_at,
-    gl_linked_search,
-    gl_linked_indexof,
+    gl_linked_search_from_to,
+    gl_linked_indexof_from_to,
     gl_linked_add_first,
     gl_linked_add_last,
     gl_linked_add_before,
@@ -58,7 +58,9 @@ const struct gl_list_implementation gl_linked_list_implementation =
     gl_linked_iterator_next,
     gl_linked_iterator_free,
     gl_linked_sortedlist_search,
+    gl_linked_sortedlist_search_from_to,
     gl_linked_sortedlist_indexof,
+    gl_linked_sortedlist_indexof_from_to,
     gl_linked_sortedlist_add,
     gl_linked_sortedlist_remove
   };