1 #ifndef ACL_FIFO_INCLUDE_H 2 #define ACL_FIFO_INCLUDE_H 108 #define acl_fifo_push acl_fifo_push_back 110 #define acl_fifo_push_info acl_fifo_push_info_back 119 #define acl_fifo_pop acl_fifo_pop_front 158 #define ACL_FIFO_ITER_VALUE(iter) ((iter).ptr->data) 159 #define acl_fifo_iter_value ACL_FIFO_ITER_VALUE 205 #define ACL_FIFO_FOREACH(iter, fifo_ptr) \ 206 for ((iter).ptr = (fifo_ptr)->head; (iter).ptr; (iter).ptr = (iter).ptr->next) 207 #define acl_fifo_foreach ACL_FIFO_FOREACH 239 #define ACL_FIFO_FOREACH_REVERSE(iter, fifo_ptr) \ 240 for ((iter).ptr = (fifo_ptr)->tail; (iter).ptr; (iter).ptr = (iter).ptr->prev) 241 #define acl_fifo_foreach_reverse ACL_FIFO_FOREACH_REVERSE
ACL_API ACL_FIFO_INFO * acl_fifo_pop_info(ACL_FIFO *fifo)
ACL_API void acl_fifo_delete_info(ACL_FIFO *fifo, ACL_FIFO_INFO *info)
ACL_API void acl_fifo_init(ACL_FIFO *fifo)
void(* push_front)(struct ACL_FIFO *, void *)
ACL_API void * acl_fifo_pop_back(ACL_FIFO *fifo)
void(* push_back)(struct ACL_FIFO *, void *)
ACL_API ACL_FIFO_INFO * acl_fifo_push_back(ACL_FIFO *fifo, void *data)
ACL_API int acl_fifo_delete(ACL_FIFO *fifo, const void *data)
ACL_API void * acl_fifo_head(ACL_FIFO *fifo)
ACL_API void acl_fifo_push_info_back(ACL_FIFO *fifo, ACL_FIFO_INFO *info)
ACL_API ACL_FIFO * acl_fifo_new(void)
ACL_API ACL_FIFO_INFO * acl_fifo_head_info(ACL_FIFO *fifo)
ACL_API int acl_fifo_size(ACL_FIFO *fifo)
ACL_API ACL_FIFO_INFO * acl_fifo_push_front(ACL_FIFO *fifo, void *data)
ACL_API void * acl_fifo_tail(ACL_FIFO *fifo)
ACL_API void acl_fifo_free(ACL_FIFO *fifo, void(*free_fn)(void *))
ACL_API ACL_FIFO * acl_fifo_new1(ACL_SLICE_POOL *slice)
ACL_API void * acl_fifo_pop_front(ACL_FIFO *fifo)
ACL_API ACL_FIFO_INFO * acl_fifo_tail_info(ACL_FIFO *fifo)
ACL_API void acl_fifo_free2(ACL_FIFO *fifo, void(*free_fn)(ACL_FIFO_INFO *))