Lines Matching defs:header
45 * header: first element of the list (head)
50 static inline void xge_list_init (xge_list_t *header)
52 header->next = header;
53 header->prev = header;
58 * header: first element of the list (head)
64 static inline int xge_list_is_empty(xge_list_t *header)
66 xge_assert(header != NULL);
68 return header->next == header;
73 * header: first element of the list (head)
75 * Returns the next item from the header.
76 * Returns NULL if the next item is header itself
79 static inline xge_list_t *xge_list_first_get(xge_list_t *header)
81 xge_assert(header != NULL);
82 xge_assert(header->next != NULL);
83 xge_assert(header->prev != NULL);
85 if(header->next == header)
88 return header->next;