1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// Copyright (c) 2023, Marvin Borner <dev@marvinborner.de> // SPDX-License-Identifier: MIT #ifndef SHARING_LIST_H #define SHARING_LIST_H struct list { void *data; struct list *next; }; struct list *list_add(struct list *list, void *data); void list_free(struct list *list); #endif