File: parsesql.h

package info (click to toggle)
pgq 3.2.6-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 836 kB
  • sloc: sql: 3,412; ansic: 1,990; python: 302; makefile: 89; sh: 2
file content (12 lines) | stat: -rw-r--r-- 166 bytes parent folder | download | duplicates (3)
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);