flowtop: Get rid of clear() & refresh() calls
[netsniff-ng-new.git] / list.h
bloba8ac408e94689aefb88b38c69f47bd882474bec9
1 #ifndef LIST_I_H
2 #define LIST_I_H
4 #include <urcu/list.h>
5 #include <urcu/rculist.h>
7 #define list_head cds_list_head
9 #define LIST_HEAD CDS_LIST_HEAD
10 #define INIT_LIST_HEAD CDS_INIT_LIST_HEAD
11 #define LIST_HEAD_INIT CDS_LIST_HEAD_INIT
13 #define list_add cds_list_add
14 #define list_add_tail cds_list_add_tail
15 #define list_del cds_list_del
16 #define list_del_init cds_list_del_init
17 #define list_move cds_list_move
18 #define list_replace cds_list_replace
19 #define list_splice cds_list_splice
20 #define list_entry cds_list_entry
21 #define list_first_entry cds_list_first_entry
22 #define list_for_each cds_list_for_each
23 #define list_for_each_safe cds_list_for_each_safe
24 #define list_for_each_prev cds_list_for_each_prev
25 #define list_for_each_prev_safe cds_list_for_each_prev_safe
26 #define list_for_each_entry cds_list_for_each_entry
27 #define list_for_each_entry_safe cds_list_for_each_entry_safe
28 #define list_for_each_entry_reverse cds_list_for_each_entry_reverse
29 #define list_empty cds_list_empty
30 #define list_replace_init cds_list_replace_init
32 #define list_add_rcu cds_list_add_rcu
33 #define list_add_tail_rcu cds_list_add_tail_rcu
34 #define list_replace_rcu cds_list_replace_rcu
35 #define list_del_rcu cds_list_del_rcu
36 #define list_for_each_rcu cds_list_for_each_rcu
37 #define list_for_each_entry_rcu cds_list_for_each_entry_rcu
39 #endif /* LIST_I_H */