clist
A multi-mode C linked list library/implementation
Loading...
Searching...
No Matches
clist Struct Reference

A double-way linked list. More...

#include <clist.h>

Data Fields

struct nodebegin
 
struct nodecurrent
 
struct nodeend
 
size_t item_size
 
unsigned long current_index
 
size_t list_length
 

Detailed Description

A double-way linked list.

This structure is a double-way linked list. It should be modified and accessed with the functions written for this purpose, which should be found in /src.

Field Documentation

◆ begin

begin

A node-typed pointer that points to the node which is the beginning of the list.

◆ current

current

A node-typed pointer that points to the node which is the current element "focused".

◆ current_index

current_index

An unsigned long variable that is used to note at which index clist::current is, on the list.

◆ end

end

A node-typed pointer that points to the node which is the end of the list.

◆ item_size

item_size

A size_t variable which describes the size of data that is stored into a single node.

◆ list_length

list_length

A size_t variable indicating the list length/item count that is updated on every list operation involving removal or insertion of items.


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