Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef LIST_H_INCLUDED
- #define LIST_H_INCLUDED
- typedef unsigned int u_int;
- struct List_Node
- {
- int data;
- struct List_Node* next;
- };
- typedef struct
- {
- struct List_Node* first;
- struct List_Node* last;
- u_int nodeCount;
- } Linked_List;
- void list_node_init ( struct List_Node* node, int val);
- void list_init ( Linked_List* list );
- void list_clear ( Linked_List* list );
- void list_push_back ( Linked_List* l, u_int val );
- void list_erase ( Linked_List* l, u_int where );
- int list_get_node_val ( Linked_List* list, int where );
- #endif // LIST_H_INCLUDED
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement