YAZ
5.34.0
|
Implements query stream reader that reads from a C string. More...
#include <yaz/cql.h>
Go to the source code of this file.
Data Structures | |
struct | cql_buf_info |
Functions | |
static int | getbuf (void *vp) |
static void | ungetbuf (int b, void *vp) |
int | cql_parser_string (CQL_parser cp, const char *str) |
parses a CQL query (string) More... | |
Implements query stream reader that reads from a C string.
Definition in file cqlstring.c.
int cql_parser_string | ( | CQL_parser | cp, |
const char * | str | ||
) |
parses a CQL query (string)
cp | CQL parser |
str | CQL string |
0 | success |
!=0 | failure |
Definition at line 35 of file cqlstring.c.
References cql_parser_stream(), getbuf(), cql_buf_info::off, cql_buf_info::str, and ungetbuf().
Referenced by cql2pqf().
|
static |
Definition at line 20 of file cqlstring.c.
References cql_buf_info::off, and cql_buf_info::str.
Referenced by cql_parser_string().
|
static |
Definition at line 28 of file cqlstring.c.
References cql_buf_info::off.
Referenced by cql_parser_string().