rbtree

changeset 13:5b955b3a4675

readme, copying, copyright headers
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 17 Apr 2014 13:35:43 +0300
parents ea44ca011995
children 1b8a3a6088b6
files .hgignore COPYING README src/rbtree.c src/rbtree.h
diffstat 5 files changed, 51 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/.hgignore	Sat Jan 18 15:26:11 2014 +0200
     1.2 +++ b/.hgignore	Thu Apr 17 13:35:43 2014 +0300
     1.3 @@ -5,3 +5,5 @@
     1.4  rbtree\.a$
     1.5  rbtree\.so
     1.6  ^test/.*test$
     1.7 +\.ttf$
     1.8 +linlibertine/
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/COPYING	Thu Apr 17 13:35:43 2014 +0300
     2.3 @@ -0,0 +1,27 @@
     2.4 +Redistribution and use in source and binary forms, with or without
     2.5 +modification, are permitted provided that the following conditions are
     2.6 +met:
     2.7 +
     2.8 +    (1) Redistributions of source code must retain the above copyright
     2.9 +    notice, this list of conditions and the following disclaimer. 
    2.10 +
    2.11 +    (2) Redistributions in binary form must reproduce the above copyright
    2.12 +    notice, this list of conditions and the following disclaimer in
    2.13 +    the documentation and/or other materials provided with the
    2.14 +    distribution.  
    2.15 +    
    2.16 +    (3)The name of the author may not be used to
    2.17 +    endorse or promote products derived from this software without
    2.18 +    specific prior written permission.
    2.19 +
    2.20 +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
    2.21 +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
    2.22 +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    2.23 +DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
    2.24 +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
    2.25 +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
    2.26 +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    2.27 +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
    2.28 +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
    2.29 +IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    2.30 +POSSIBILITY OF SUCH DAMAGE.
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/README	Thu Apr 17 13:35:43 2014 +0300
     3.3 @@ -0,0 +1,8 @@
     3.4 +rbtree
     3.5 +------
     3.6 +Simple balanced binary search tree (red-black tree) library.
     3.7 +
     3.8 +Copyright (C) 2011-2014  John Tsiombikas <nuclear@member.fsf.org>
     3.9 +
    3.10 +rbtree is free software, feel free to use, modify, and redistribute it, under
    3.11 +the terms of the 3-clause BSD license. See COPYING for details.
     4.1 --- a/src/rbtree.c	Sat Jan 18 15:26:11 2014 +0200
     4.2 +++ b/src/rbtree.c	Thu Apr 17 13:35:43 2014 +0300
     4.3 @@ -1,3 +1,10 @@
     4.4 +/*
     4.5 +rbtree - simple balanced binary search tree (red-black tree) library.
     4.6 +Copyright (C) 2011-2014  John Tsiombikas <nuclear@member.fsf.org>
     4.7 +
     4.8 +rbtree is free software, feel free to use, modify, and redistribute it, under
     4.9 +the terms of the 3-clause BSD license. See COPYING for details.
    4.10 + */
    4.11  #include <stdio.h>
    4.12  #include <stdlib.h>
    4.13  #include <stdint.h>
     5.1 --- a/src/rbtree.h	Sat Jan 18 15:26:11 2014 +0200
     5.2 +++ b/src/rbtree.h	Thu Apr 17 13:35:43 2014 +0300
     5.3 @@ -1,3 +1,10 @@
     5.4 +/*
     5.5 +rbtree - simple balanced binary search tree (red-black tree) library.
     5.6 +Copyright (C) 2011-2014  John Tsiombikas <nuclear@member.fsf.org>
     5.7 +
     5.8 +rbtree is free software, feel free to use, modify, and redistribute it, under
     5.9 +the terms of the 3-clause BSD license. See COPYING for details.
    5.10 + */
    5.11  #ifndef RBTREE_H_
    5.12  #define RBTREE_H_
    5.13