SHARE
TWEET

Untitled

a guest Mar 1st, 2018 143 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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_
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top