annotate lib/gl_linkedhash_list.h @ 10780:5c7a68d31801

Add support for Haiku.
author Bruno Haible <bruno@clisp.org>
date Mon, 10 Nov 2008 12:37:32 +0100
parents bbbbbf4cd1c5
children b5e42ef33b49
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6979
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 /* Sequential list data type implemented by a hash table with a linked list.
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 Copyright (C) 2006 Free Software Foundation, Inc.
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3 Written by Bruno Haible <bruno@clisp.org>, 2006.
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4
9309
bbbbbf4cd1c5 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents: 6979
diff changeset
5 This program is free software: you can redistribute it and/or modify
6979
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 it under the terms of the GNU General Public License as published by
9309
bbbbbf4cd1c5 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents: 6979
diff changeset
7 the Free Software Foundation; either version 3 of the License, or
bbbbbf4cd1c5 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents: 6979
diff changeset
8 (at your option) any later version.
6979
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 This program is distributed in the hope that it will be useful,
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 GNU General Public License for more details.
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 You should have received a copy of the GNU General Public License
9309
bbbbbf4cd1c5 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents: 6979
diff changeset
16 along with this program. If not, see <http://www.gnu.org/licenses/>. */
6979
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 #ifndef _GL_LINKEDHASH_LIST_H
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 #define _GL_LINKEDHASH_LIST_H
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 #include "gl_list.h"
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 #ifdef __cplusplus
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 extern "C" {
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 #endif
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 extern const struct gl_list_implementation gl_linkedhash_list_implementation;
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 #define GL_LINKEDHASH_LIST &gl_linkedhash_list_implementation
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
29
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30 #ifdef __cplusplus
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
31 }
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
32 #endif
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
33
17657e80a184 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
34 #endif /* _GL_LINKEDHASH_LIST_H */