#ifndef _Queue_h_
#define _Queue_h_

/* Structs */
typedef struct _node_t {
    struct _node_t* next;
}node_t;

typedef struct _queue_t {
    node_t* first;
    node_t* last;
}queue_t;

/* Functions */
void q_ini_queue (queue_t*);
void q_enqueue (queue_t*, node_t*);
int q_last (queue_t*, node_t*);
node_t* q_first (queue_t*);
node_t* q_next (queue_t*, node_t*);

#endif

