libft
Data Fields
s_list Struct Reference

A link in a multi-purpose linked list. More...

#include <libft.h>

Data Fields

void * content
 The data contained in the link. More...
 
size_t content_size
 The size of the data stored in bytes. More...
 
struct s_listnext
 The next link’s address or NULL if it’s the last link. More...
 

Detailed Description

A link in a multi-purpose linked list.

Definition at line 34 of file libft.h.

Field Documentation

◆ content

s_list::content

The data contained in the link.

The void * allows to store any kind of data.

Definition at line 36 of file libft.h.

◆ content_size

s_list::content_size

The size of the data stored in bytes.

The void * type doesn’t allow you to know the size of the pointed data, so it is necessary to save its size.

Definition at line 37 of file libft.h.

◆ next

s_list::next

The next link’s address or NULL if it’s the last link.

Definition at line 38 of file libft.h.


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