TABLE OF CONTENTS
libram/libram_list [ Structures ]
[ Top ] [ libram ] [ Structures ]
NAME
libram_list - anchor structure for a simple linked list with head and tail
DESCRIPTION
structure for the anchor of a simple linked list with head and tail
SOURCE
struct libram_list { struct libram_list_node *head, **tail; long count; long maxcount; long number_first_called; long number_add_called; long number_remove_called; long number_delete_called; };
ATTRIBUTES
- head: pointer to head of list
- tail: pointer to next element of last element in list
- count: number of elements in the list
- maxcount: maximum number of elements in the list
- number_first_called: number of libram_list_first calls
- number_add_called: number of libram_list_add calls
- number_remove_called: number of libram_list_remove calls
- number_delete_called: number of libram_list_delete calls
SEE ALSO
libram_list_node(3), libram_list_add(3), libram_list_remove(3), libram_list_first(3), libram_list_delete(3)
libram/libram_list_node [ Structures ]
[ Top ] [ libram ] [ Structures ]
NAME
libram_list_node - node for a simple linked list with head and tail
DESCRIPTION
structure for the node of a simple linked list with head and tail
SOURCE
struct libram_list_node { void *value; struct libram_list_node *next; };
ATTRIBUTES
- value: pointer to data
- next: pointer to next element in list.
SEE ALSO
libram_list(3), libram_list_add(3), libram_list_remove(3), libram_list_first(3), libram_list_delete(3)