hashmap/include/node.h

15 lines
308 B
C

#ifndef __HASHMAP_NODE_H
#define __HASHMAP_NODE_H
struct node {
struct node *next;
struct node *prev;
const char *key;
const void *value;
};
struct node *new_node(const char *key, const void *value);
struct node *insert_node(struct node *entry, const char *key, const void *value);
#endif