RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
|
#include <rtdef.h>
宏定义 | |
#define | rt_container_of(ptr, type, member) |
#define | RT_LIST_OBJECT_INIT(object) |
#define | rt_list_entry(node, type, member) |
#define | rt_list_for_each(pos, head) |
#define | rt_list_for_each_safe(pos, n, head) |
#define | rt_list_for_each_entry(pos, head, member) |
#define | rt_list_for_each_entry_safe(pos, n, head, member) |
#define | rt_list_first_entry(ptr, type, member) |
#define | RT_SLIST_OBJECT_INIT(object) |
#define | rt_slist_entry(node, type, member) |
#define | rt_slist_for_each(pos, head) |
#define | rt_slist_for_each_entry(pos, head, member) |
#define | rt_slist_first_entry(ptr, type, member) |
#define | rt_slist_tail_entry(ptr, type, member) |
函数 | |
rt_inline void | rt_list_init (rt_list_t *l) |
rt_inline void | rt_list_insert_after (rt_list_t *l, rt_list_t *n) |
rt_inline void | rt_list_insert_before (rt_list_t *l, rt_list_t *n) |
rt_inline void | rt_list_remove (rt_list_t *n) |
rt_inline int | rt_list_isempty (const rt_list_t *l) |
rt_inline unsigned int | rt_list_len (const rt_list_t *l) |
rt_inline void | rt_slist_init (rt_slist_t *l) |
rt_inline void | rt_slist_append (rt_slist_t *l, rt_slist_t *n) |
rt_inline void | rt_slist_insert (rt_slist_t *l, rt_slist_t *n) |
rt_inline unsigned int | rt_slist_len (const rt_slist_t *l) |
rt_inline rt_slist_t * | rt_slist_pop (rt_slist_t *l) |
rt_inline rt_slist_t * | rt_slist_remove (rt_slist_t *l, rt_slist_t *n) |
rt_inline rt_slist_t * | rt_slist_first (rt_slist_t *l) |
rt_inline rt_slist_t * | rt_slist_tail (rt_slist_t *l) |
rt_inline rt_slist_t * | rt_slist_next (rt_slist_t *n) |
rt_inline int | rt_slist_isempty (rt_slist_t *l) |