ucx
UAP Common Extensions
Loading...
Searching...
No Matches
cx_linked_list_s Struct Reference

Metadata for a linked list. More...

#include <linked_list.h>

Data Fields

struct cx_list_s base
 Base members.
 
off_t loc_prev
 Location of the prev pointer (mandatory).
 
off_t loc_next
 Location of the next pointer (mandatory).
 
off_t loc_data
 Location of the payload (mandatory).
 
off_t loc_extra
 Location of extra data (optional).
 
size_t extra_data_len
 Additional bytes to allocate behind the payload (e.g.
 
void * begin
 Pointer to the first node.
 
void * end
 Pointer to the last node.
 

Detailed Description

Metadata for a linked list.

Field Documentation

◆ extra_data_len

size_t cx_linked_list_s::extra_data_len

Additional bytes to allocate behind the payload (e.g.

for metadata).

See also
cx_linked_list_extra_data()

◆ loc_extra

off_t cx_linked_list_s::loc_extra

Location of extra data (optional).

Negative when no extra data is requested.

See also
cx_linked_list_extra_data()

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