#ifndef MAP_REDUCE_H #define MAP_REDUCE_H // Constants typedef struct key_value_pair{ char *key; char value; struct key_value_pair *next; } key_value_pair; static key_value_pair *head = NULL; // Functions void init_key_value_pair(key_value_pair *kv, char *key, char *value); void free_key_value_pair(key_value_pair *kv); void add_key_value_pair(key_value_pair *kv, char *key, char *value); #endif //MAP_REDUCE_H