list: added list_copy.
This commit is contained in:
parent
35008fa605
commit
658bc8b9ad
3 changed files with 33 additions and 0 deletions
|
|
@ -23,6 +23,8 @@ typedef int (cmp_fn_t)(const void *, const void *b);
|
|||
|
||||
struct list* list_create(void);
|
||||
|
||||
struct list* list_copy(struct list *list);
|
||||
|
||||
int list_destroy(struct list *list);
|
||||
|
||||
void list_clear(struct list *list);
|
||||
|
|
|
|||
Reference in a new issue