|
YAZ 5.35.1
|
Implements query stream reading using FILE handle. More...
#include <yaz/cql.h>Go to the source code of this file.
Functions | |
| static int | getbyte_stream (void *client_data) |
| static void | ungetbyte_stream (int c, void *client_data) |
| int | cql_parser_stdio (CQL_parser cp, FILE *f) |
| parses CQL query (from FILE) | |
Implements query stream reading using FILE handle.
Definition in file cqlstdio.c.
| int cql_parser_stdio | ( | CQL_parser | cp, |
| FILE * | f | ||
| ) |
parses CQL query (from FILE)
| cp | CQL parser |
| f | file where query is read from |
| 0 | success |
| !=0 | failure |
This function is similar to cql_parser_string but reads from stdio FILE handle instead.
Definition at line 34 of file cqlstdio.c.
References cql_parser_stream(), getbyte_stream(), and ungetbyte_stream().
|
static |
Definition at line 15 of file cqlstdio.c.
Referenced by cql_parser_stdio().
|
static |
Definition at line 25 of file cqlstdio.c.
Referenced by cql_parser_stdio().