Data Structures Lerax 1.0.0
Essential Data Structures for C language
Loading...
Searching...
No Matches
list-double.h File Reference

Go to the source code of this file.

Data Structures

struct  ListDouble
 Linked List with double pointers. More...

Typedefs

typedef struct ListDouble ListDouble

Functions

ListDoublelist_double_create (void)
int list_double_empty (ListDouble *l)
ListDoublelist_double_insert (ListDouble *l, int data)
ListDoublelist_double_remove (ListDouble *l, int data)
ListDoublelist_double_search (ListDouble *l, int data)
void list_double_print (ListDouble *l)
void list_double_println (ListDouble *l)
void list_double_free (ListDouble *l)
ListDoublelist_double__new_node (int data)

Typedef Documentation

◆ ListDouble

typedef struct ListDouble ListDouble

Function Documentation

◆ list_double__new_node()

ListDouble * list_double__new_node ( int data)

◆ list_double_create()

ListDouble * list_double_create ( void )

Create a new empty list

◆ list_double_empty()

int list_double_empty ( ListDouble * l)

Verify if the list is empty

◆ list_double_free()

void list_double_free ( ListDouble * l)

Free the memory allocated by list

◆ list_double_insert()

ListDouble * list_double_insert ( ListDouble * l,
int data )

Insert a new element on the begin of the list

◆ list_double_print()

void list_double_print ( ListDouble * l)

Print a double list (without newline)

◆ list_double_println()

void list_double_println ( ListDouble * l)

Print a double list (with newline)

◆ list_double_remove()

ListDouble * list_double_remove ( ListDouble * l,
int data )

Remove a element data, if exists, on the list

◆ list_double_search()

ListDouble * list_double_search ( ListDouble * l,
int data )

Return a given node which have the data field