00001 /* 00002 * This file is part of the Generic Data Structures Library (GDSL). 00003 * Copyright (C) 1998-2004 Nicolas Darnis <ndarnis@free.fr>. 00004 * 00005 * The GDSL library is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU General Public License as 00007 * published by the Free Software Foundation; either version 2 of 00008 * the License, or (at your option) any later version. 00009 * 00010 * The GDSL library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with the GDSL library; see the file COPYING. 00017 * If not, write to the Free Software Foundation, Inc., 00018 * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 00019 * 00020 * $RCSfile: gdsl_8h-source.html,v $ 00021 * $Revision: 1.4 $ 00022 * $Date: 2004/10/03 14:35:37 $ 00023 */ 00024 00025 #ifndef _GDSL_H_ 00026 #define _GDSL_H_ 00027 00028 /* 00029 * This is the GDSL main header file. 00030 * Include it in your source code to be able to use all GDSL modules. 00031 * Alternatively, you can include only the GDSL headers you needs in your 00032 * source files. 00033 */ 00034 00035 00036 #include "gdsl/gdsl_types.h" 00037 #include "gdsl/gdsl_macros.h" 00038 00039 00040 /* 00041 * High-level modules: use them to get the easier access to data structures and 00042 * GDSL's algorithms. 00043 */ 00044 #include "gdsl/gdsl_list.h" /* lists */ 00045 #include "gdsl/gdsl_stack.h" /* stacks */ 00046 #include "gdsl/gdsl_queue.h" /* queues */ 00047 #include "gdsl/gdsl_2darray.h" /* 2D arrays */ 00048 #include "gdsl/gdsl_bstree.h" /* binary search trees */ 00049 #include "gdsl/gdsl_perm.h" /* permutations */ 00050 #include "gdsl/gdsl_rbtree.h" /* red-black trees */ 00051 #include "gdsl/gdsl_hash.h" /* hashtables */ 00052 #include "gdsl/gdsl_sort.h" /* general-sorting functions */ 00053 00054 00055 /* 00056 * Low-level modules: use them to get a low-level access to data structures. 00057 */ 00058 #include "gdsl/_gdsl_list.h" /* low-level lists */ 00059 #include "gdsl/_gdsl_bintree.h" /* low-level binary trees */ 00060 #include "gdsl/_gdsl_bstree.h" /* low-level binary search trees */ 00061 00062 00063 #if defined (__cplusplus) 00064 extern "C" 00065 { 00066 #endif /* __cplusplus */ 00067 00068 00081 extern const char* 00082 gdsl_get_version (void); 00083 00084 00085 /* 00086 * @} 00087 */ 00088 00089 00090 #ifdef __cplusplus 00091 } 00092 #endif/* __cplusplus */ 00093 00094 00095 #endif /* _GDSL_H_ */ 00096