erpc/list.h

17 lines
323 B
C
Raw Normal View History

2024-11-20 15:03:26 +00:00
#ifndef _LIST_H_
#define _LIST_H_
typedef struct list_t {
void *data;
struct list_t *next;
} list_t;
list_t *list_create(void *data);
list_t *list_append(list_t *head, void *data);
void list_print(list_t *head);
void list_destroy(list_t *head);
void list_delete(list_t *head, void *data);
#endif /* _LIST_H_ */