C Everything
This is a C repository containing a curated set of generic data structures and algorithm.
|
Link List main structure. More...
#include <link_list.h>
Data Fields | |
char * | name |
Name of link list instance */. More... | |
e_lltype | type |
Type of link list. More... | |
int | count |
Total no of elems stored in link list. More... | |
e_data_types | dtype |
Type of data elemnts to be stored. More... | |
t_llnode * | head |
Head node reference. More... | |
t_llnode * | tail |
Tail node reference. More... | |
f_ins | append |
routine to Add elem at end of link list More... | |
f_ins | add |
routine to Add elem at begin of link list More... | |
f_del | del |
routine to del node with matching elem of link list More... | |
f_find | find |
routine to find and get the node with matching elem More... | |
f_del_idx | del_idx |
routine to del node at idx More... | |
f_get_idx | get_idx |
routine to get node at idx More... | |
f_len | len |
routine to get len of link list More... | |
f_print | |
routine to print the link list More... | |
f_print | print_info |
routine to print the detailed of link list More... | |
f_gen | head_node |
routine to get the head node More... | |
f_gen | tail_node |
routine to get the tail node More... | |
f_gen | end_node |
routine to get the end node More... | |
f_gen2 | next_node |
routine to get the next node of the given node More... | |
f_gen2 | prev_node |
routine to get the prev node of the given node More... | |
f_gen | get_node_data |
routine to get data in given node More... | |
f_destroy | destroy |
routine destroy the link list instance More... | |
f_print | print_data |
routies for operating on data More... | |
f_cmpr | cmpr |
f_assign | assign |
f_swap | swap |
f_free | free |
Link List main structure.
Definition at line 26 of file link_list.h.
f_ins add |
routine to Add elem at begin of link list
Definition at line 38 of file link_list.h.
f_ins append |
routine to Add elem at end of link list
Definition at line 37 of file link_list.h.
f_assign assign |
Definition at line 57 of file link_list.h.
f_cmpr cmpr |
Definition at line 56 of file link_list.h.
int count |
Total no of elems stored in link list.
Definition at line 29 of file link_list.h.
f_del del |
routine to del node with matching elem of link list
Definition at line 39 of file link_list.h.
f_del_idx del_idx |
routine to del node at idx
Definition at line 41 of file link_list.h.
f_destroy destroy |
routine destroy the link list instance
Definition at line 52 of file link_list.h.
e_data_types dtype |
Type of data elemnts to be stored.
Definition at line 30 of file link_list.h.
f_gen end_node |
routine to get the end node
Definition at line 48 of file link_list.h.
f_find find |
routine to find and get the node with matching elem
Definition at line 40 of file link_list.h.
f_free free |
Definition at line 59 of file link_list.h.
f_get_idx get_idx |
routine to get node at idx
Definition at line 42 of file link_list.h.
f_gen get_node_data |
routine to get data in given node
Definition at line 51 of file link_list.h.
t_llnode* head |
Head node reference.
Definition at line 33 of file link_list.h.
f_gen head_node |
routine to get the head node
Definition at line 46 of file link_list.h.
f_len len |
routine to get len of link list
Definition at line 43 of file link_list.h.
char* name |
Name of link list instance */.
Definition at line 27 of file link_list.h.
f_gen2 next_node |
routine to get the next node of the given node
Definition at line 49 of file link_list.h.
f_gen2 prev_node |
routine to get the prev node of the given node
Definition at line 50 of file link_list.h.
f_print print |
routine to print the link list
Definition at line 44 of file link_list.h.
f_print print_data |
routies for operating on data
Definition at line 55 of file link_list.h.
f_print print_info |
routine to print the detailed of link list
Definition at line 45 of file link_list.h.
f_swap swap |
Definition at line 58 of file link_list.h.
t_llnode* tail |
Tail node reference.
Definition at line 34 of file link_list.h.
f_gen tail_node |
routine to get the tail node
Definition at line 47 of file link_list.h.
e_lltype type |
Type of link list.
Definition at line 28 of file link_list.h.