stmtQueue.h
539 Bytes
#ifndef _STMT_QUEUE_H_
#define _STMT_QUEUE_H_
#include <ident.h>
typedef struct stmtQueue s_stmtQueue;
#include <statement.h>
s_stmtQueue * stmtQueueNew (void);
void stmtQueueFree (s_stmtQueue *);
void stmtQueueEnqueue (s_stmtQueue *, s_stmt *);
s_stmt * stmtQueueDequeue (s_stmtQueue *);
s_stmtQueue * stmtQueueConcat (s_stmtQueue *, s_stmtQueue *);
s_stmt * stmtQueueGet (s_stmtQueue *, unsigned int);
void stmtQueueDo (s_stmtQueue *);
unsigned int stmtQueueGetSize (s_stmtQueue *);
#endif /* _STMT_QUEUE_H_ */