no-OS
Public Attributes | List of all members
list_desc Struct Reference

Structure storing the list and function wrapper for usual list types. More...

#include <list.h>

Collaboration diagram for list_desc:
Collaboration graph
[legend]

Public Attributes

f_add push
 
f_get pop
 
f_read top_next
 
f_read back
 
f_edit swap
 
void * priv_desc
 

Detailed Description

Structure storing the list and function wrapper for usual list types.

With this structure the funtionalities of usual list types ( adapter_type ) can be accesed with the functions referenced in this structure. For example:

my_queue->push(my_queue, my_data);

Member Data Documentation

◆ back

f_read list_desc::back

Refer to adapter_type

◆ pop

f_get list_desc::pop

Refer to adapter_type

◆ priv_desc

void* list_desc::priv_desc

Structure storing the list internal parameters

◆ push

f_add list_desc::push

Refer to adapter_type

◆ swap

f_edit list_desc::swap

Refer to adapter_type

◆ top_next

f_read list_desc::top_next

Refer to adapter_type


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