GRASS 8 Programmer's Manual 8.6.0dev(2026)-55de52a352
Loading...
Searching...
No Matches
defs/sqlp.h
Go to the documentation of this file.
1#ifndef GRASS_SQLPDEFS_H
2#define GRASS_SQLPDEFS_H
3
4int my_yyinput(char *buf, int max_size);
5void yyerror(const char *s);
6int yyparse(void);
7int yywrap(void);
8
9int sqpSaveStr(SQLPVALUE *st, char *c);
10void sqpInitValue(SQLPVALUE *val);
11void sqpCopyValue(SQLPVALUE *from, SQLPVALUE *to);
12
14int sqpFreeStmt(SQLPSTMT *st);
15int sqpPrintStmt(SQLPSTMT *st);
16int sqpAllocCol(SQLPSTMT *st, int n);
17int sqpAllocVal(SQLPSTMT *st, int n);
18int sqpAllocCom(SQLPSTMT *st, int n);
19int sqpInitParser(SQLPSTMT *st);
20
21void sqpCommand(int command);
22void sqpTable(char *table);
23void sqpColumn(char *column);
24void sqpColumnDef(char *column, int type, int width, int decimals);
25void sqpValue(char *strval, int intval, double dblval, int type);
26void sqpAssignment(char *column, char *strval, int intval, double dblval,
27 SQLPNODE *expr, int type);
28void sqpOrderColumn(char *col, int dir);
29int sqpOperatorCode(char *);
30char *sqpOperatorName(int);
31
32SQLPNODE *sqpNewNode(void);
33
34SQLPNODE *sqpNewExpressionNode(int oper, SQLPNODE *left, SQLPNODE *right);
36SQLPNODE *sqpNewValueNode(char *strval, int intval, double dblval, int type);
37
38void sqpFreeNode(SQLPNODE *);
39
40#endif
char * sqpOperatorName(int)
Definition sql.c:322
int sqpFreeStmt(SQLPSTMT *st)
int sqpSaveStr(SQLPVALUE *st, char *c)
Definition sql.c:37
void sqpCopyValue(SQLPVALUE *from, SQLPVALUE *to)
Definition sql.c:57
void sqpValue(char *strval, int intval, double dblval, int type)
Definition sql.c:125
SQLPNODE * sqpNewNode(void)
Definition sql.c:205
int sqpOperatorCode(char *)
Definition sql.c:276
int sqpAllocCol(SQLPSTMT *st, int n)
SQLPSTMT * sqpInitStmt(void)
int yyparse(void)
Definition sqlp.tab.c:1017
SQLPNODE * sqpNewValueNode(char *strval, int intval, double dblval, int type)
Definition sql.c:239
int my_yyinput(char *buf, int max_size)
Definition sqlp.yy.c:2257
SQLPNODE * sqpNewColumnNode(char *name)
Definition sql.c:227
SQLPNODE * sqpNewExpressionNode(int oper, SQLPNODE *left, SQLPNODE *right)
Definition sql.c:213
int yywrap(void)
Definition sqlp.yy.c:2297
int sqpAllocVal(SQLPSTMT *st, int n)
void sqpFreeNode(SQLPNODE *)
Definition sql.c:256
void sqpColumn(char *column)
Definition sql.c:98
void sqpCommand(int command)
Definition sql.c:86
int sqpAllocCom(SQLPSTMT *st, int n)
int sqpInitParser(SQLPSTMT *st)
Definition sql.c:71
void sqpInitValue(SQLPVALUE *val)
Definition sql.c:49
void yyerror(const char *s)
Definition sqlp.yy.c:2280
void sqpColumnDef(char *column, int type, int width, int decimals)
Definition sql.c:110
void sqpOrderColumn(char *col, int dir)
Definition sql.c:196
void sqpTable(char *table)
Definition sql.c:92
void sqpAssignment(char *column, char *strval, int intval, double dblval, SQLPNODE *expr, int type)
Definition sql.c:158
int sqpPrintStmt(SQLPSTMT *st)
Definition print.c:59
const char * name
Definition named_colr.c:6