summaryrefslogtreecommitdiffstats
path: root/tools/sqldelim.h
blob: ade9de037c62d5dcd1561046153b19d1242adb22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
** 2001 September 15
**
** The author disclaims copyright to this source code.  In place of
** a legal notice, here is a blessing:
**
**    May you do good and not evil.
**    May you find forgiveness for yourself and forgive others.
**    May you share freely, never taking more than you give.
**
*************************************************************************
** A tokenizer for SQL
**
** This file contains C code that splits an SQL input string up into
** individual tokens and sends those tokens one-by-one over to the
** parser for analysis.
*/

int sql_get_statement(const char *start,
                      int (*fn)(const char *stmt, void *opaque),
                      void *opaque);