1 // SPDX-License-Identifier: MIT
3 * Copyright 2022 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
6 #ifndef _SIDE_LIST_TYPES_H
7 #define _SIDE_LIST_TYPES_H
9 struct side_list_node
{
10 struct side_list_node
*next
;
11 struct side_list_node
*prev
;
14 struct side_list_head
{
15 struct side_list_node node
;
18 #define DEFINE_SIDE_LIST_HEAD(_identifier) \
19 struct side_list_head _identifier = { \
21 .next = &(_identifier).node, \
22 .prev = &(_identifier).node, \
26 #endif /* _SIDE_LIST_TYPES_H */
This page took 0.028728 seconds and 4 git commands to generate.