4 #define ITERATE_LINKEDLIST(list, pair) for (LinkedListPair *pair = list->first; pair != NULL; pair = pair->next)
6 typedef struct LinkedListPair
8 struct LinkedListPair *next;
15 LinkedListPair *first;
18 LinkedList linked_list_create();
19 void linked_list_clear(LinkedList *list);
21 void linked_list_put(LinkedList *list, const char *key, const char *value); // ToDo
22 void linked_list_get(LinkedList *list, const char *key); // ToDo
23 void linked_list_delete(LinkedList *list, const char *key); // ToDo
25 void linked_list_serialize(int fd); // ToDo
26 void linked_list_deserialize(int fd, LinkedList *); // ToDo