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

itable.h

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 
00011 struct itable * itable_create( int buckets );
00012 void itable_delete( struct itable *h );
00013 
00014 int    itable_insert( struct itable *h, int key, const void *value, void **old );
00015 void * itable_lookup( struct itable *h, int key );
00016 void * itable_remove( struct itable *h, int key );
00017 
00018 void   itable_firstkey( struct itable *h );
00019 int    itable_nextkey( struct itable *h, int *key, void **value );
00020 
00021 #endif

Generated on Thu Sep 11 10:01:22 2008 for cctools by  doxygen 1.3.9.1