26
27 #ifndef _SYS_LIST_IMPL_H
28 #define _SYS_LIST_IMPL_H
29
30 #pragma ident "%Z%%M% %I% %E% SMI"
31
32 #include <sys/types.h>
33
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37
38 struct list_node {
39 struct list_node *list_next;
40 struct list_node *list_prev;
41 };
42
43 struct list {
44 size_t list_size;
45 size_t list_offset;
46 struct list_node list_head;
47 };
48
49 #ifdef __cplusplus
50 }
51 #endif
52
53 #endif /* _SYS_LIST_IMPL_H */
|
26
27 #ifndef _SYS_LIST_IMPL_H
28 #define _SYS_LIST_IMPL_H
29
30 #pragma ident "%Z%%M% %I% %E% SMI"
31
32 #include <sys/types.h>
33
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37
38 struct list_node {
39 struct list_node *list_next;
40 struct list_node *list_prev;
41 };
42
43 struct list {
44 size_t list_size;
45 size_t list_offset;
46 ulong_t list_numnodes;
47 struct list_node list_head;
48 };
49
50 #ifdef __cplusplus
51 }
52 #endif
53
54 #endif /* _SYS_LIST_IMPL_H */
|