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. */
22 #include "gl_linked_list.h"
28 /* -------------------------- gl_list_t Data Type -------------------------- */
30 /* Generic linked list code. */
31 #include "gl_anylinked_list1.h"
32 #include "gl_anylinked_list2.h"
35 const struct gl_list_implementation gl_linked_list_implementation =
37 gl_linked_create_empty,
42 gl_linked_previous_node,
52 gl_linked_remove_node,
57 gl_linked_iterator_from_to,
58 gl_linked_iterator_next,
59 gl_linked_iterator_free,
60 gl_linked_sortedlist_search,
61 gl_linked_sortedlist_indexof,
62 gl_linked_sortedlist_add,
63 gl_linked_sortedlist_remove