1 /* This file is part of the YAZ toolkit.
2 * Copyright (C) 1995-2008 Index Data
3 * See the file LICENSE for details.
8 * \brief Implements query stream reading using FILE handle.
13 int getbyte_stream(void *client_data)
15 FILE *f = (FILE*) client_data;
23 void ungetbyte_stream (int c, void *client_data)
25 FILE *f = (FILE*) client_data;
32 int cql_parser_stdio(CQL_parser cp, FILE *f)
34 return cql_parser_stream(cp, getbyte_stream, ungetbyte_stream, f);
41 * indent-tabs-mode: nil
43 * vim: shiftwidth=4 tabstop=8 expandtab