summaryrefslogtreecommitdiff
path: root/ckcapi-util.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2007-05-06 15:54:47 +0000
committerStef Walter <stef@memberwebs.com>2007-05-06 15:54:47 +0000
commit3881e39238741515913bd14635acb289e4a590d8 (patch)
treee71c8fa90773695922530708109b92e82015e9cc /ckcapi-util.c
parentfba61383772184aff5eae03d21f0381e3a99dc00 (diff)
Add licenses
Diffstat (limited to 'ckcapi-util.c')
-rw-r--r--ckcapi-util.c44
1 files changed, 43 insertions, 1 deletions
diff --git a/ckcapi-util.c b/ckcapi-util.c
index 7fd1d1d..fbffe7c 100644
--- a/ckcapi-util.c
+++ b/ckcapi-util.c
@@ -1,3 +1,21 @@
+/*
+ * Copyright (C) 2007 Nate Nielsen
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
#include "ckcapi-util.h"
@@ -5,6 +23,30 @@
#include <stdlib.h>
#include <string.h>
+/*
+ * Array code originially from Glib.
+ * Modified extensively by Nate Nielsen <nielsen@memberwebs.com>
+ */
+
+/* GLIB - Library of useful routines for C programming
+ * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
#define MIN_ARRAY_SIZE 16
@@ -168,7 +210,7 @@ ckcapi_array_remove_range(CkCapiArray* parray, unsigned int index, size_t length
/*
* Originally from apache 2.0
- * Modifications for general use by <nielsen@memberwebs.com>
+ * Extensive modifications by <nielsen@memberwebs.com>
*/
/* Copyright 2000-2004 The Apache Software Foundation