|
ASCOT5
|
Header file for list.c. More...
#include "offload.h"Go to the source code of this file.
Data Structures | |
| struct | list_int_node |
| Linked list node that stores int data. More... | |
Typedefs | |
| typedef struct list_int_node | list_int_node |
| Linked list node that stores int data. | |
Functions | |
| DECLARE_TARGET void | list_int_create (list_int_node **list) |
| Create an empty list. | |
| DECLARE_TARGET_END DECLARE_TARGET void | list_int_free (list_int_node **list) |
| Deallocate this list and all lists it is linked to. | |
| DECLARE_TARGET_END DECLARE_TARGET void | list_int_add (list_int_node *list, int data) |
| Add new node to the end of the chain. | |
| DECLARE_TARGET_END DECLARE_TARGET int | list_int_get (list_int_node *list, int index) |
| Retrieve the data stored in a list node. | |
| DECLARE_TARGET_END DECLARE_TARGET int | list_int_size (list_int_node *list) |
| Get list size. | |
| DECLARE_TARGET void list_int_create | ( | list_int_node ** | list | ) |
| DECLARE_TARGET_END DECLARE_TARGET void list_int_free | ( | list_int_node ** | list | ) |
| DECLARE_TARGET_END DECLARE_TARGET void list_int_add | ( | list_int_node * | list, |
| int | data ) |
| DECLARE_TARGET_END DECLARE_TARGET int list_int_get | ( | list_int_node * | list, |
| int | index ) |
| DECLARE_TARGET_END DECLARE_TARGET int list_int_size | ( | list_int_node * | list | ) |