Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

itable.h

Go to the documentation of this file.
00001 /*
00002 Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
00003 Copyright (C) 2005- The University of Notre Dame
00004 This software is distributed under a BSD-style license.
00005 See the file COPYING for details.
00006 */
00007 
00008 #ifndef ITABLE_H
00009 #define ITABLE_H
00010 
00045 struct itable * itable_create( int buckets );
00046 
00052 void itable_delete( struct itable *h );
00053 
00059 int itable_size  ( struct itable *h );
00060 
00071 int itable_insert( struct itable *h, int key, const void *value );
00072 
00079 void * itable_lookup( struct itable *h, int key );
00080 
00087 void * itable_remove( struct itable *h, int key );
00088 
00096 void   itable_firstkey( struct itable *h );
00097 
00106 int    itable_nextkey( struct itable *h, int *key, void **value );
00107 
00108 #endif

Generated on Thu Jul 2 15:49:25 2009 for cctools by  doxygen 1.3.9.1