Mistake on this page?
Report an issue in GitHub or email us
stm_list.h
Go to the documentation of this file.
1 /**
2  ******************************************************************************
3  * @file stm_list.h
4  * @author MCD Application Team
5  * @brief Header file for linked list library.
6  ******************************************************************************
7  * @attention
8  *
9  * <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
10  * All rights reserved.</center></h2>
11  *
12  * This software component is licensed by ST under BSD 3-Clause license,
13  * the "License"; You may not use this file except in compliance with the
14  * License. You may obtain a copy of the License at:
15  * opensource.org/licenses/BSD-3-Clause
16  *
17  ******************************************************************************
18  */
19 
20 
21 #ifndef _STM_LIST_H_
22 #define _STM_LIST_H_
23 
24 /* Includes ------------------------------------------------------------------*/
25 #include "stm32_wpan_common.h"
26 
27 typedef PACKED_STRUCT _tListNode {
28  struct _tListNode * next;
29  struct _tListNode * prev;
30 } tListNode;
31 
32 void LST_init_head (tListNode * listHead);
33 
34 uint8_t LST_is_empty (tListNode * listHead);
35 
36 void LST_insert_head (tListNode * listHead, tListNode * node);
37 
38 void LST_insert_tail (tListNode * listHead, tListNode * node);
39 
40 void LST_remove_node (tListNode * node);
41 
42 void LST_remove_head (tListNode * listHead, tListNode ** node );
43 
44 void LST_remove_tail (tListNode * listHead, tListNode ** node );
45 
46 void LST_insert_node_after (tListNode * node, tListNode * ref_node);
47 
48 void LST_insert_node_before (tListNode * node, tListNode * ref_node);
49 
50 int LST_get_size (tListNode * listHead);
51 
52 void LST_get_next_node (tListNode * ref_node, tListNode ** node);
53 
54 void LST_get_prev_node (tListNode * ref_node, tListNode ** node);
55 
56 #endif /* _STM_LIST_H_ */
Connected isochronous stream node.
Definition: lctr_int_cis.h:299
Common file to utilities.
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.