GATE
|
A double-linked-list entry holding the link information and the content. More...
#include <arrays.h>
Data Fields | ||
struct gate_linkedentry_class * | previous | |
struct gate_linkedentry_class * | next | |
void * | data | |
union { | ||
} | attachment | |
A double-linked-list entry holding the link information and the content.
A linked-entry instance is overallocated (sizeof(gate_linkedentry_t) + sizeof(item_type)) and the content data is placed after the entry object The entry object holds links to the previous and the next entry in a linked-list. A data pointer addresses the beginning of the content type (following the linked-entry object)
struct gate_linkedentry_class* previous |
pointer to previous entry in linked list
struct gate_linkedentry_class* next |
pointer to next entry in linked list
void* data |
pointer to item content data
union { ... } attachment |
alignment ensurance helper structure