projects
/
magread
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fixed issue where the LRC of a card was the reverse of the start
[magread]
/
llist.h
1
#ifndef LLIST_H
2
#include <stdlib.h>
3
4
typedef struct llist_n {
5
int idx;
6
short amp;
7
struct llist_n *next;
8
} LList;
9
10
typedef struct llist_h {
11
LList *first;
12
LList *last;
13
int len;
14
} LListH;
15
16
17
LListH *llist_init();
18
19
void llist_append( LListH *list, int idx, short amp );
20
21
void llist_remove_idx( LListH *list, int idx );
22
23
LListH *llist_free( LListH *list );
24
25
void llist_reinit( LListH *list );
26
27
#endif