summaryrefslogtreecommitdiff
path: root/lib/gl_rbtree_list.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2006-07-17 11:30:58 +0000
committerBruno Haible <bruno@clisp.org>2006-07-17 11:30:58 +0000
commite21bb106b335e1ac02c02ef4e6e9ad29db744667 (patch)
tree86ca753266945fb3d7f2463d895dbc200cc1d07e /lib/gl_rbtree_list.h
parent72f1dc222e2a295a3c819d3f5eb89b80ccf52074 (diff)
downloadgnulib-e21bb106b335e1ac02c02ef4e6e9ad29db744667.tar.gz
Sequential list data type implemented by a binary tree.
Diffstat (limited to 'lib/gl_rbtree_list.h')
-rw-r--r--lib/gl_rbtree_list.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/lib/gl_rbtree_list.h b/lib/gl_rbtree_list.h
new file mode 100644
index 0000000000..9ff4437f9d
--- /dev/null
+++ b/lib/gl_rbtree_list.h
@@ -0,0 +1,35 @@
+/* Sequential list data type implemented by a binary tree.
+ Copyright (C) 2006 Free Software Foundation, Inc.
+ Written by Bruno Haible <bruno@clisp.org>, 2006.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software Foundation,
+ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+
+#ifndef _GL_RBTREE_LIST_H
+#define _GL_RBTREE_LIST_H
+
+#include "gl_list.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern const struct gl_list_implementation gl_rbtree_list_implementation;
+#define GL_RBTREE_LIST &gl_rbtree_list_implementation
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _GL_RBTREE_LIST_H */