blob: ec5850e5d0d9c30022c929506c44f4cfbf88cb45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "list.h"
typedef struct {
Node *buckets;
int size;
} Hash;
Hash *hash_init(int buckets);
void *hash_get(Hash *hash, int key);
void hash_set(Hash *hash, int key, void *value);
void hash_inspect(Hash *hash);
|