#include "frdi.h"
Functions | |
void | frdiListJoin (frdi_list *list, frdi_list_node *A, frdi_list_node *B) |
frdi_list_node * | frdiListNodeNew (void *value) |
frdi_list * | frdiListNew () |
void | frdiListSetStringHandler (frdi_list *list, frdi_handler *handler) |
void | frdiListFree (frdi_list *list) |
void | frdiListSetException (frdi_list *list, frdi_exception *eh) |
frdi_list_node * | frdiListAdd (frdi_list *list, void *value) |
frdi_list_node * | frdiListSet (frdi_list *list, int idx, void *value) |
frdi_list_node * | frdiListInsert (frdi_list *list, int idx, void *value) |
void | frdiListRemove (frdi_list *list, int idx) |
void * | frdiListGet (frdi_list *list, int idx) |
frdi_list_node * | frdiListGetNode (frdi_list *list, int idx) |
void * | frdiListPop (frdi_list *list) |
void | frdiListPush (frdi_list *list, void *value) |
frdi_list * | frdiListIterate (frdi_list *list, frdi_handler *handler) |
frdi_list * | frdiListMap (frdi_list *list, frdi_handler *handler) |
int | frdiListGetSize (frdi_list *list) |
char * | frdiListDisplay (frdi_list *list) |
char * | frdiListString (frdi_list *list, void *value) |
int | frdiListCompare (frdi_list *list, void *A, void *B) |
int | frdiListFind (frdi_list *list, void *value) |
|
Join two nodes together |
|
Create Object |
|
Create Object |
|
what type is this list? takes a method that casts the type to a string |
|
Releases the list and all the node, but not their values |
|
Set the exception handler |
|
Creates a new node holding the value, and adds it to the end of the list |
|
Set the value of an existing node in the list |
|
Insert the value as a new node in the list |
|
Remove a node from the list |
|
Get the value held in a node of the list |
|
Get a node of the list |
|
Remove the last node and return its value |
|
see frdiListAdd() |
|
Calls the function 'handler' with the values, one by one (NOT IMPLEMENTED) |
|
Calls the function 'handler' with the nodes, one by one It expects back node objects and links the non-NULL ones into a new list. (NOT IMPLEMENTED) |
|
how many nodes are there in the list? |
|
Return a string representation of the list |
|
return a string representation of a void* |
|
A lt B == < 0 A eq B == 0 A gt B == > 0 |
|
Return the index of the first node whose value matches value |