Files
RN-Praxis3/praxis3/key_value_pair.h
T
2025-01-27 21:02:39 +01:00

21 lines
424 B
C

#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