1 /* Sequential list data type implemented by a linked list.
2 Copyright (C) 2006 Free Software Foundation, Inc.
3 Written by Bruno Haible <bruno@clisp.org>, 2006.
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2, or (at your option)
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software Foundation,
17 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
24 #include "gl_linked_list.h"
30 /* -------------------------- gl_list_t Data Type -------------------------- */
32 /* Generic linked list code. */
33 #include "gl_anylinked_list1.h"
34 #include "gl_anylinked_list2.h"
37 const struct gl_list_implementation gl_linked_list_implementation =
39 gl_linked_create_empty,
44 gl_linked_previous_node,
54 gl_linked_remove_node,
59 gl_linked_iterator_from_to,
60 gl_linked_iterator_next,
61 gl_linked_iterator_free,
62 gl_linked_sortedlist_search,
63 gl_linked_sortedlist_indexof,
64 gl_linked_sortedlist_add,
65 gl_linked_sortedlist_remove