comparison LinkedList.h @ 14:1c27a52c5b15

Added copyright.
author Eric Wing <ewing . public |-at-| gmail . com>
date Sat, 06 Nov 2010 00:44:35 -0700
parents 54aa96ae8912
children d58eb38c771b
comparison
equal deleted inserted replaced
13:54aa96ae8912 14:1c27a52c5b15
1 /*
2 LinkedList
3 Copyright (C) 2010 Eric Wing <ewing . public @ playcontrol.net>
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
9
10 This library 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 GNU
13 Library General Public License for more details.
14
15 You should have received a copy of the GNU Library General Public
16 License along with this library; if not, write to the Free
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19
20 /* I'm so sick of constantly rewriting linked lists in C.
21 So here's some initial work to write a very simple reusable implementation.
22 The API could use a lot more functions, but I'll add them as I need them.
23 */
24
1 #ifndef C_LINKED_LIST_H 25 #ifndef C_LINKED_LIST_H
2 #define C_LINKED_LIST_H 26 #define C_LINKED_LIST_H
3 27
4 /* Set up for C function definitions, even when using C++ */ 28 /* Set up for C function definitions, even when using C++ */
5 #ifdef __cplusplus 29 #ifdef __cplusplus