Advertisement
Guest User

Untitled

a guest
Mar 1st, 2018
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.44 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <stdbool.h>
  4.  
  5. #define MAXPRI 20
  6.  
  7. #ifndef _LINKEDLISTARRAY_
  8. #define _LINKEDLISTARRAY_
  9.  
  10. typedef struct node {
  11.     unsigned int id;
  12.     struct node *next;
  13. } Node;
  14.  
  15. void Create(Node **queue);
  16. void Push(Node **queue, int pri, int id);
  17. void Pop(Node **queue);
  18. int Search(Node **queue, unsigned int id);
  19. void Display(Node **queue);
  20. void Execute(Node **queue);
  21.  
  22. #endif // _LINKEDLISTARRAY_
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement