Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int Append_Disordered_List(Linked_List *List, Tuple_P *Element_P) {
- 114 Node_P *Node_Memory_P;
- 115 Code Code_P;
- 116 Node_P *Init_List;
- 117 Node_P *Position_Node_P;
- 118 Locate_Disordered_List (Init_List, Code_P, Position_Node_P);
- 119 if ( Position_Node_P->Data.Code_P == Code_P ) {
- 120 return FALSE;
- 121 } else if ( Init_List == NULL ) {
- 122 return FALSE; }
- 123 else {
- 124 if( New_Node_P(Node_Memory_P )) {
- 125 Copy_Tuples_P( &(Node_Memory_P), Element_P);
- 126 Node_Memory_P->Next= Init_List;
- 127 Init_List= Node_Memory_P;
- 128 return TRUE; }
- 129
- 130 }
Add Comment
Please, Sign In to add comment