X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fcqlstring.c;h=40824c5787728f0e9d344ca80e995a4a39d63c9c;hb=5c3d2d2ab097e4bb59ba5718a396b020a2d302c0;hp=bf18b077834e13c38b8edd383354706aa2b584b0;hpb=c6e47cbbff56f39f6d81b079ebaeac41d793d4d9;p=yaz-moved-to-github.git diff --git a/src/cqlstring.c b/src/cqlstring.c index bf18b07..40824c5 100644 --- a/src/cqlstring.c +++ b/src/cqlstring.c @@ -1,11 +1,17 @@ -/* $Id: cqlstring.c,v 1.1 2003-10-27 12:21:30 adam Exp $ - Copyright (C) 2002-2003 +/* $Id: cqlstring.c,v 1.3 2004-10-15 00:19:00 adam Exp $ + Copyright (C) 2002-2004 Index Data Aps This file is part of the YAZ toolkit. See the file LICENSE for details. */ + +/** + * \file cqlstring.c + * \brief Implements query stream reader that reads from a C string. + */ + #include struct cql_buf_info { @@ -13,7 +19,7 @@ struct cql_buf_info { int off; }; -int getbuf(void *vp) +static int getbuf(void *vp) { struct cql_buf_info *bi = (struct cql_buf_info *) vp; if (bi->str[bi->off] == 0) @@ -21,7 +27,7 @@ int getbuf(void *vp) return bi->str[bi->off++]; } -void ungetbuf(int b, void *vp) +static void ungetbuf(int b, void *vp) { struct cql_buf_info *bi = (struct cql_buf_info *) vp; if (b)