#ifndef LIST_H #define LIST_H struct ListElem { void* dataStart; size_t dataSize; struct ListElem* next; }; struct ListHead { struct ListElem* start; struct ListElem* end; }; struct ListHead* list_create(); int list_add(struct ListHead* head, void* data, size_t size); int list_free(struct ListHead* head); #endif // LIST_H