#ifndef __ORDINARY_LIST_H_ #define __ORDINARY_LIST_H_ #include struct ordinary_node { struct ordinary_node *prev; struct ordinary_node *next; void *val; }; struct ordinary_list { struct ordinary_node *head; struct ordinary_node *tail; uint32_t count; uint32_t limit; }; #endif