X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fcqlstdio.c;h=b647828c954182af58478a1fd2d085268b2966f2;hp=c9d50ffc0a0532884be784f28a3112ac634e909b;hb=935b1ba0c2c3dc480b0afcb3673abe2ef2dd893f;hpb=c6e47cbbff56f39f6d81b079ebaeac41d793d4d9 diff --git a/src/cqlstdio.c b/src/cqlstdio.c index c9d50ff..b647828 100644 --- a/src/cqlstdio.c +++ b/src/cqlstdio.c @@ -1,15 +1,18 @@ -/* $Id: cqlstdio.c,v 1.1 2003-10-27 12:21:30 adam Exp $ - Copyright (C) 2002-2003 - Index Data Aps - -This file is part of the YAZ toolkit. - -See the file LICENSE. -*/ +/* This file is part of the YAZ toolkit. + * Copyright (C) Index Data + * See the file LICENSE for details. + */ +/** + * \file cqlstdio.c + * \brief Implements query stream reading using FILE handle. + */ +#if HAVE_CONFIG_H +#include +#endif #include -int getbyte_stream(void *client_data) +static int getbyte_stream(void *client_data) { FILE *f = (FILE*) client_data; @@ -19,7 +22,7 @@ int getbyte_stream(void *client_data) return c; } -void ungetbyte_stream (int c, void *client_data) +static void ungetbyte_stream(int c, void *client_data) { FILE *f = (FILE*) client_data; @@ -34,3 +37,12 @@ int cql_parser_stdio(CQL_parser cp, FILE *f) } +/* + * Local variables: + * c-basic-offset: 4 + * c-file-style: "Stroustrup" + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +