Turnstone Operating System
Loading...
Searching...
No Matches
list_t Struct Reference

list internal interface More...

Public Attributes

memory_heap_theap
 the heap of the list
 
list_type_t type
 list type
 
lock_tlock
 lock for the list
 
list_data_comparator_f comparator
 if the list is sorted, this is comparator function for data
 
list_data_comparator_f equality_comparator
 if the list is sorted, this is comparator function for data
 
size_t item_count
 item count at the list, for fast access.
 
indexer_t indexer
 if the list is indexed, this is the indexer
 
size_t capacity
 the capacity of the list
 
size_t head
 the head of the list
 
size_t tail
 the tail of the list
 
list_item_titems
 the items of the list
 
list_item_thead
 head of the list
 
list_item_ttail
 tail of the list
 
list_item_tmiddle
 middle of the list
 
size_t middle_position
 middle position of the list
 
int8_t balance
 balance of the list
 

Detailed Description

list internal interface

linked list internal interface


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