Advertisement
globalbus

Untitled

May 17th, 2011
358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. typedef struct List{
  5. int data;
  6. struct List* next;
  7. } List;
  8. int List_Push(List** p_list, int value);
  9. int List_Add(List** p_list, int value);
  10. int List_Add_List(List** p_list_p, List** p_list_s, int index);
  11. int List_Add_At(List** p_list, int value, int index);
  12. int List_Count(List* p_list);
  13. int List_Get(List* p_list, int index);
  14. void List_Print_All(List* p_list);
  15. int List_Del(List** p_list, int index);
  16. int List_Del_All(List** p_list);
  17. int List_Add_ToSorted(List** p_list, int value, int sort_direction);
  18. int List_Sort_Selection_Sort(List** p_list, int sort_direction);
  19. List* List_GetRange(List* p_list, int start, int count);
  20. int List_Merge(List** p_list_a,List** p_list_b, int sort_direction);
  21. List* List_MergeSort(List** p_list, int sort_direction);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement