aboutsummaryrefslogtreecommitdiff
path: root/src/list.h
blob: 083e23935b00f3d5db9954e6ffdefbe403afb475 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _LIST_H_
#define _LIST_H_

typedef struct list_t {
  void*  data;
  struct List* next;
  struct List* first;
  struct List* current;
  int    size;
} List;

List* List_Create(void);
void  List_Add   (List*, void*, int);
void  List_Remove();

#endif