Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

xhash_tmpl_h.inc

Go to the documentation of this file.
00001 /***************************************************************************
00002                               xhash_tmpl_h.inc
00003                              -------------------
00004     begin                : Sat Dec 08 2001
00005     copyright            : (C) 2001-2002 by Christian Hoenig & Gunter Ohrner
00006     email                : pdepp@CustomCDROM.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00024 #include "common.h"
00025 
00026 #include <sys/types.h>
00027 #include "tmpl_common.h"
00028 
00029 #undef XHPFX
00032 #define XHPFX XH_FUNC_PFX
00033 
00035 struct XH_TABLE_NAME;
00037 typedef struct XH_TABLE_NAME* XH_TABLE_NAME;
00038 
00039 
00047 XH_TABLE_NAME fn(XHPFX,Init)(const size_t size);
00048 
00060 int fn(XHPFX,Insert)(XH_TABLE_NAME this, XH_KEY key, XH_CARGO new_load);
00061 
00062 
00072 int fn(XHPFX,Delete)(XH_TABLE_NAME this, XH_KEY key);
00073 
00074 
00084 XH_CARGO fn(XHPFX,Get)(XH_TABLE_NAME this, const XH_KEY key);
00085 
00086 
00096 int fn(XHPFX,Terminate)(XH_TABLE_NAME this);
00097 

Generated on Fri Jan 25 22:40:31 2002 for PDepp Webserver by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001