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 the GNU General Public License.
00005 See the file COPYING for details.
00006 */
00007 
00008 #ifndef ITABLE_H
00009 #define ITABLE_H
00010 
00011 #include "int_sizes.h"
00012 
00047 struct itable *itable_create(int buckets);
00048 
00054 void itable_clear(struct itable *h);
00055 
00061 void itable_delete(struct itable *h);
00062 
00068 int itable_size(struct itable *h);
00069 
00080 int itable_insert(struct itable *h, UINT64_T key, const void *value);
00081 
00088 void *itable_lookup(struct itable *h, UINT64_T key);
00089 
00096 void *itable_remove(struct itable *h, UINT64_T key);
00097 
00105 void itable_firstkey(struct itable *h);
00106 
00115 int itable_nextkey(struct itable *h, UINT64_T * key, void **value);
00116 
00117 #endif

Generated on 23 Nov 2015 for cctools by  doxygen 1.6.1