X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/162828b85d576514c6c4bf3e8961486e7d75e11c..40d5d119e57ec78928f7f15a7bd2ac46c7b0b151:/include/hash.h diff --git a/include/hash.h b/include/hash.h index 0f63d58..6dc2d4e 100644 --- a/include/hash.h +++ b/include/hash.h @@ -1,113 +1,110 @@ -/* - * ircd-ratbox: A slightly useful ircd. - * hash.h: A header for the ircd hashtable code. - * - * Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center - * Copyright (C) 1996-2002 Hybrid Development Team - * Copyright (C) 2002-2005 ircd-ratbox development team - * - * 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 - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 - * USA - * - * $Id: hash.h 24794 2007-12-28 02:36:59Z androsyn $ - */ - -#ifndef INCLUDED_hash_h -#define INCLUDED_hash_h - -extern rb_dlink_list resvTable[]; -extern rb_dlink_list ndTable[]; - -/* Magic value for FNV hash functions */ -#define FNV1_32_INIT 0x811c9dc5UL - -/* Client hash table size, used in hash.c/s_debug.c */ -#define U_MAX_BITS 17 -#define U_MAX (1<