1 #include "bdmap.h"
2 typedef struct _bdmap_node
3 {
4 char *key;
5 int *value;
6 struct _bdmap_node *next;
7 }bdmap_node;
8
9 struct _bdmap
10 {
11 bdmap_node *first;
12 bdmap_node *current;
13 };
struct _bdmap;
typedef struct _bdmap bdmap;
void put(bdmap* map,char* key,int value);
int get(bdmap* map,char* key);
char* rget(bdmap* map,int value);