cctools
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
dttools
src
itable.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
3
Copyright (C) 2005- The University of Notre Dame
4
This software is distributed under the GNU General Public License.
5
See the file COPYING for details.
6
*/
7
8
#ifndef ITABLE_H
9
#define ITABLE_H
10
11
#include "int_sizes.h"
12
47
struct
itable *
itable_create
(
int
buckets);
48
54
void
itable_delete
(
struct
itable *h);
55
61
int
itable_size
(
struct
itable *h);
62
73
int
itable_insert
(
struct
itable *h, UINT64_T key,
const
void
*value);
74
81
void
*
itable_lookup
(
struct
itable *h, UINT64_T key);
82
89
void
*
itable_remove
(
struct
itable *h, UINT64_T key);
90
98
void
itable_firstkey
(
struct
itable *h);
99
108
int
itable_nextkey
(
struct
itable *h, UINT64_T * key,
void
**value);
109
110
#endif
Generated on Sat Jun 16 2012 09:40:45 for cctools by
1.8.1