#include <stdlib.h> #include <stdbool.h> #include "priority_queue.h" /* * Validate the given PriorityQueue for structural correctness. * * In order for this function to return true, the queue passed in must * meet the specification in the project handout precisely. Every node * in the linked list and every pointer in the tails table must be * correct. * * pqueue: queue to validate * * Returns true if the queue is valid, false otherwise. */ bool pqueue_validate(PriorityQueue *pqueue) { return true; }
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include "priority_queue.h" /* * Validate the given PriorityQueue for structural correctness. * * In order for this function to return true, the queue passed in must * meet the specification in the project handout precisely. Every node * in the linked list and every pointer in the tails table must be * correct. * * pqueue: queue to validate * * Returns true if the queue is valid, false otherwise. */ bool pqueue_validate(PriorityQueue *pqueue) { return true; }