Lines Matching defs:header
50 * header: first element of the list (head)
55 static inline void xge_list_init (xge_list_t *header)
57 header->next = header;
58 header->prev = header;
63 * header: first element of the list (head)
69 static inline int xge_list_is_empty(xge_list_t *header)
71 xge_assert(header != NULL);
73 return header->next == header;
78 * header: first element of the list (head)
80 * Returns the next item from the header.
81 * Returns NULL if the next item is header itself
84 static inline xge_list_t *xge_list_first_get(xge_list_t *header)
86 xge_assert(header != NULL);
87 xge_assert(header->next != NULL);
88 xge_assert(header->prev != NULL);
90 if(header->next == header)
93 return header->next;