Guest User

Untitled

a guest
Oct 19th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. int Append_Disordered_List(Linked_List *List, Tuple_P *Element_P) {
  2. 114 Node_P *Node_Memory_P;
  3. 115 Code Code_P;
  4. 116 Node_P *Init_List;
  5. 117 Node_P *Position_Node_P;
  6. 118 Locate_Disordered_List (Init_List, Code_P, Position_Node_P);
  7. 119 if ( Position_Node_P->Data.Code_P == Code_P ) {
  8. 120 return FALSE;
  9. 121 } else if ( Init_List == NULL ) {
  10. 122 return FALSE; }
  11. 123 else {
  12. 124 if( New_Node_P(Node_Memory_P )) {
  13. 125 Copy_Tuples_P( &(Node_Memory_P), Element_P);
  14. 126 Node_Memory_P->Next= Init_List;
  15. 127 Init_List= Node_Memory_P;
  16. 128 return TRUE; }
  17. 129
  18. 130 }
Add Comment
Please, Sign In to add comment