GATE
gate_linkedentry_class Struct Reference

A double-linked-list entry holding the link information and the content. More...

#include <arrays.h>

Public Attributes

struct gate_linkedentry_classprevious
 
struct gate_linkedentry_classnext
 
void * data
 
union { 
 
   gate_c_maxalign_t   aligner 
 
   char   content [1] 
 
attachment 
 

Detailed Description

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)

Member Data Documentation

◆ [union]

union { ... } gate_linkedentry_class::attachment

alignment ensurance helper structure

◆ data

void* gate_linkedentry_class::data

pointer to item content data

◆ next

struct gate_linkedentry_class* gate_linkedentry_class::next

pointer to next entry in linked list

◆ previous

struct gate_linkedentry_class* gate_linkedentry_class::previous

pointer to previous entry in linked list


The documentation for this struct was generated from the following file: