summaryrefslogtreecommitdiff
path: root/src/sp_list.h
blob: dda139f485edec313136de8aa6df5376fad77734 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef SP_LIST_H
#define SP_LIST_H

typedef struct sp_node_s {
  struct sp_node_s *next;
  struct sp_node_s *head;
  void *data;

} sp_node_t;

sp_node_t *sp_list_new();
void sp_list_insert(sp_node_t *, void *);
void sp_list_free(sp_node_t *);
void sp_list_prepend(sp_node_t *, void *);

#endif