|
vttp
An HTTP backed Virtual Table extension for SQLite
|
SQL related functions including a basic parser. More...
#include "pyc.h"
Go to the source code of this file.
Classes | |
| struct | column_def |
Macros | |
| #define | ICOL_URL 0 |
| #define | ICOL_HEADERS 1 |
| #define | ICOL_BODY 2 |
| #define | ICOL_BIT(i) (1u << (i)) |
Functions | |
| struct column_def * | parse_column_defs (int argc, const char *const *argv, size_t *num_columns) |
| char * | resolve_hidden_col (struct column_def *column_defs, uint icol, int plan_mask, char *arg_value) |
SQL related functions including a basic parser.
| struct column_def * parse_column_defs | ( | int | argc, |
| const char *const * | argv, | ||
| size_t * | num_columns | ||
| ) |
Allocate the column_def from user ARGC and ARGV, optionally writing out the number resolved columns to NUM_COLUMNS if it isn't NULL.