#ifndef _LIBRARY_H
#define _LIBRARY_H
//-*****************************************-//
//The following declaration is in the library.c
//-*****************************************-//
void delay(int count);
void menu(void);
void BootLoader(char *last_ch);
void init_queue(seqqueue *Q); //initialize the queue Q,empty
int queue_empty(seqqueue Q); //if queue Q is empty return TRUE, else return FALSE
int queue_full(seqqueue Q); //if queue Q is full return TRUE, else return FALSE
int queue_front(seqqueue Q, char *x); //read a valve from the front of the queue of Q, But do not change the front point
int Enqueue(seqqueue *Q, char x); //add a valve in the end of the queue of Q
int Outqueue(seqqueue *Q, char *x); //read a valve from the end of the queue of Q, and change the front point.
#endif