File: parsesql.h

package info (click to toggle)
pgq 3.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 808 kB
  • sloc: sql: 3,442; ansic: 2,013; python: 309; makefile: 84; sh: 1
file content (12 lines) | stat: -rw-r--r-- 166 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12

/* multi-char tokens */
enum SqlToken {
	T_SPACE = 257,
	T_STRING,
	T_NUMBER,
	T_WORD,
	T_FQIDENT,
};

int sql_tokenizer(const char *sql, int *len_p, bool stdstr);