summaryrefslogtreecommitdiffhomepage
path: root/src/hashmap.h
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@banu.com>2008-05-24 13:35:49 +0530
committerMukund Sivaraman <muks@banu.com>2008-05-24 13:35:49 +0530
commit249d4b7f3355236e1e1490d2cffe6eccb95d1a42 (patch)
treef86eec687b9363467a53915fcab4e741b157baae /src/hashmap.h
parentb441485b5e869cef1b1edd043decec8f0bd7eb00 (diff)
Updated copyright, license notices in source code
The notices have been changed to a more GNU look. Documentation comments have been separated from the copyright header. I've tried to keep all copyright notices intact. Some author contact details have been updated.
Diffstat (limited to 'src/hashmap.h')
-rw-r--r--src/hashmap.h23
1 files changed, 8 insertions, 15 deletions
diff --git a/src/hashmap.h b/src/hashmap.h
index aa376d4..0bde82c 100644
--- a/src/hashmap.h
+++ b/src/hashmap.h
@@ -1,14 +1,5 @@
-/* $Id: hashmap.h,v 1.4 2005-08-15 03:54:31 rjkaes Exp $
- *
- * A hashmap implementation. The keys are case-insensitive NULL terminated
- * strings, and the data is arbitrary lumps of data. Copies of both the
- * key and the data in the hashmap itself, so you must free the original
- * key and data to avoid a memory leak. The hashmap returns a pointer
- * to the data when a key is searched for, so take care in modifying the
- * data as it's modifying the data stored in the hashmap. (In other words,
- * don't try to free the data, or realloc the memory. :)
- *
- * Copyright (C) 2002 Robert James Kaes (rjkaes@users.sourceforge.net)
+/* tinyproxy - A fast light-weight HTTP proxy
+ * Copyright (C) 2002 Robert James Kaes <rjkaes@users.sourceforge.net>
*
* 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
@@ -20,11 +11,13 @@
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * 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.
*/
+/* See 'hashmap.c' for detailed information. */
+
#ifndef _HASHMAP_H
#define _HASHMAP_H
@@ -110,7 +103,7 @@ extern "C" {
/*
* Searches for _any_ occurrances of "key" within the hashmap and returns the
* number of matching entries.
- *
+ *
* Returns: negative upon an error
* zero if no key is found
* count found (positive value)