| 
    GRASS Programmer's Manual
    6.5.svn(2014)-r66266
    
   | 
 
#include <stdlib.h>#include <stdio.h>#include <string.h>#include <ctype.h>#include <assert.h>#include <grass/sqlp.h>
Go to the source code of this file.
Macros | |
| #define | SQLP_MAIN | 
Functions | |
| int | sqpSaveStr (SQLPVALUE *val, char *c) | 
| void | sqpInitValue (SQLPVALUE *val) | 
| void | sqpCopyValue (SQLPVALUE *from, SQLPVALUE *to) | 
| int | sqpInitParser (SQLPSTMT *st) | 
| void | sqpCommand (int command) | 
| void | sqpTable (char *tbl) | 
| void | sqpColumn (char *col) | 
| void | sqpColumnDef (char *col, int type, int width, int decimals) | 
| void | sqpValue (char *strval, int intval, double dblval, int type) | 
| void | sqpAssignment (char *col, char *strval, int intval, double dblval, SQLPNODE *expval, int type) | 
| void | sqpOrderColumn (char *col, int dir) | 
| SQLPNODE * | sqpNewNode (void) | 
| SQLPNODE * | sqpNewExpressionNode (int oper, SQLPNODE *left, SQLPNODE *right) | 
| SQLPNODE * | sqpNewColumnNode (char *name) | 
| SQLPNODE * | sqpNewValueNode (char *strval, int intval, double dblval, int type) | 
| void | sqpFreeNode (SQLPNODE *np) | 
| int | sqpOperatorCode (char *oper) | 
| char * | sqpOperatorName (int oper) | 
| void sqpAssignment | ( | char * | col, | 
| char * | strval, | ||
| int | intval, | ||
| double | dblval, | ||
| SQLPNODE * | expval, | ||
| int | type | ||
| ) | 
Definition at line 162 of file sql.c.
References NULL, sqpAllocCol(), sqpAllocVal(), sqpSaveStr(), and dialogs::type.
Referenced by yyparse().
| void sqpColumn | ( | char * | col | ) | 
Definition at line 102 of file sql.c.
References sqpAllocCol(), and sqpSaveStr().
Referenced by yyparse().
Definition at line 114 of file sql.c.
References sqpAllocCol(), sqpSaveStr(), dialogs::type, and dialogs::width.
Referenced by yyparse().
| void sqpCommand | ( | int | command | ) | 
| void sqpCopyValue | ( | SQLPVALUE * | from, | 
| SQLPVALUE * | to | ||
| ) | 
| void sqpFreeNode | ( | SQLPNODE * | np | ) | 
| SQLPNODE* sqpNewColumnNode | ( | char * | name | ) | 
| SQLPNODE* sqpNewExpressionNode | ( | int | oper, | 
| SQLPNODE * | left, | ||
| SQLPNODE * | right | ||
| ) | 
| SQLPNODE* sqpNewNode | ( | void | ) | 
Definition at line 209 of file sql.c.
Referenced by sqpNewColumnNode(), sqpNewExpressionNode(), and sqpNewValueNode().
Definition at line 243 of file sql.c.
References sqpNewNode(), and dialogs::type.
Referenced by yyparse().
| int sqpOperatorCode | ( | char * | oper | ) | 
| void sqpOrderColumn | ( | char * | col, | 
| int | dir | ||
| ) | 
| int sqpSaveStr | ( | SQLPVALUE * | val, | 
| char * | c | ||
| ) | 
Definition at line 41 of file sql.c.
Referenced by sqpAssignment(), sqpColumn(), sqpColumnDef(), and sqpValue().
Definition at line 129 of file sql.c.
References NULL, sqpAllocCol(), sqpAllocVal(), sqpSaveStr(), and dialogs::type.
Referenced by yyparse().