Data Structures UFC
1.0.0
Essential Data Structures for C language
|
Go to the source code of this file.
Data Structures | |
struct | ListDouble |
Linked List with double pointers. More... | |
Typedefs | |
typedef struct ListDouble | ListDouble |
Functions | |
ListDouble * | list_double_create (void) |
int | list_double_empty (ListDouble *l) |
ListDouble * | list_double_insert (ListDouble *l, int data) |
ListDouble * | list_double_remove (ListDouble *l, int data) |
ListDouble * | list_double_search (ListDouble *l, int data) |
void | list_double_print (ListDouble *l) |
void | list_double_println (ListDouble *l) |
void | list_double_free (ListDouble *l) |
ListDouble * | list_double__new_node (int data) |
typedef struct ListDouble ListDouble |
ListDouble* list_double__new_node | ( | int | data | ) |
ListDouble* list_double_create | ( | void | ) |
Create a new empty list
int list_double_empty | ( | ListDouble * | l | ) |
Verify if the list is empty
void list_double_free | ( | ListDouble * | l | ) |
Free the memory allocated by list
ListDouble* list_double_insert | ( | ListDouble * | l, |
int | data | ||
) |
Insert a new element on the begin of the list
void list_double_print | ( | ListDouble * | l | ) |
Print a double list (without newline)
void list_double_println | ( | ListDouble * | l | ) |
Print a double list (with newline)
ListDouble* list_double_remove | ( | ListDouble * | l, |
int | data | ||
) |
Remove a element data
, if exists, on the list
ListDouble* list_double_search | ( | ListDouble * | l, |
int | data | ||
) |
Return a given node which have the data
field