Since none of your QUEUE* functions receive a QUEUEnode *
, you can hide it in the head.c file, along with the QUEUEnode root;
that they operate on.
If you want to use multiple queues, then it should probably be in the head.h file so they can be created in main.c. For this, you'll also need to modify the functions to accept a queue to operate on.