Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
20 | pmbaty | 1 | #ifndef _BRLISTS_H_ |
2 | #define _BRLISTS_H_ |
||
3 | |||
4 | #include "brender/br_types.h" |
||
5 | |||
6 | void BrNewList(br_list* list); |
||
7 | |||
8 | void BrAddHead(br_list* list, br_node* node); |
||
9 | |||
10 | void BrAddTail(br_list* list, br_node* node); |
||
11 | |||
12 | br_node* BrRemHead(br_list* list); |
||
13 | |||
14 | br_node* BrRemTail(br_list* list); |
||
15 | |||
16 | void BrInsert(br_list* list, br_node* here, br_node* node); |
||
17 | |||
18 | br_node* BrRemove(br_node* node); |
||
19 | |||
20 | void BrSimpleNewList(br_simple_list* list); |
||
21 | |||
22 | void BrSimpleAddHead(br_simple_list* list, br_simple_node* node); |
||
23 | |||
24 | br_simple_node* BrSimpleRemHead(br_simple_list* list); |
||
25 | |||
26 | void BrSimpleInsert(br_simple_list* list, br_simple_node* here, br_simple_node* node); |
||
27 | |||
28 | br_simple_node* BrSimpleRemove(br_simple_node* node); |
||
29 | |||
30 | #endif |