PULSAR
2.0.0
Parallel Ultra-Light Systolic Array Runtime
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Typedefs
Enumerations
Macros
Groups
icl_list.h
Go to the documentation of this file.
1
11
#ifndef ICL_LIST_H
12
#define ICL_LIST_H
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
typedef
struct
icl_list_s
{
19
void
*data;
20
struct
icl_list_s
*flink;
21
struct
icl_list_s
*blink;
22
}
icl_list_t
;
23
24
icl_list_t
*
icl_list_new
();
25
icl_list_t
*
icl_list_insert
(
icl_list_t
*,
icl_list_t
*,
void
*);
26
icl_list_t
*
icl_list_search
(
icl_list_t
*,
void
*,
int
(*)(
void
*,
void
*));
27
icl_list_t
*
icl_list_isort
(
icl_list_t
*head,
void
*data,
int
(*)(
void
*,
void
*));
28
icl_list_t
*
icl_list_first
(
icl_list_t
*);
29
icl_list_t
*
icl_list_last
(
icl_list_t
*);
30
icl_list_t
*
icl_list_next
(
icl_list_t
*,
icl_list_t
*);
31
icl_list_t
*
icl_list_prev
(
icl_list_t
*,
icl_list_t
*);
32
icl_list_t
*
icl_list_concat
(
icl_list_t
*,
icl_list_t
*);
33
icl_list_t
*
icl_list_prepend
(
icl_list_t
*,
void
*);
34
icl_list_t
*
icl_list_append
(
icl_list_t
*,
void
*);
35
36
int
icl_list_delete
(
icl_list_t
*,
icl_list_t
*,
void
(*)(
void
*));
37
int
icl_list_destroy
(
icl_list_t
*,
void
(*)(
void
*));
38
int
icl_list_size
(
icl_list_t
*);
39
40
#define icl_list_foreach(list, ptr) \
41
for (ptr = icl_list_first(list); ptr != NULL; ptr = icl_list_next(list, ptr))
42
43
#ifdef __cplusplus
44
}
45
#endif
46
47
#endif
/* ICL_LIST_H */
icl_list.h
Generated on Thu Nov 20 2014 18:12:00 for PULSAR by
1.8.4