-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmdbproto.h
More file actions
40 lines (30 loc) · 925 Bytes
/
mdbproto.h
File metadata and controls
40 lines (30 loc) · 925 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef _MDBPROTO_H_
#define _MDBPROTO_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "mdbtype.h"
#include <ctype.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <assert.h>
void mdbBeginParse(Parse *,int);
void mdbStartTable(Parse *,Token *);
void mdbAddColumn(Parse *,Token *);
void mdbAddColumnType(Parse *,Token *);
void mdbEndTable(Parse *);
void mdbDropTable(Parse *pParse,Token *tn);
void mdbInsert(Parse *pParse,Token *tn,IdList *pColumn,ExprList *pList);
Expr *mdbExpr(int op,Expr *pLeft,Expr *pRight,const Token *pToken);
IdList *mdbIdListAppend(IdList *pList, Token *pToken);
ExprList *mdbExprListAppend(ExprList *pList,Expr *pExpr,Token *pName);
void mdbExprSpan(Expr *pExpr,Token *pLeft,Token *pRight);
void mdbExprDelete(Expr *p);
void mdbIdListDelete(IdList *pList);
void mdbExprListDelete(ExprList *pList);
void freeTblRes(Table *ptbl);
#ifdef __cplusplus
}
#endif
#endif