X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fcqlstring.c;h=5d66b457b43422e15e34baaf117edf47dcde58b2;hp=d9923e5cd17f7a5aa9a47dbff2266270961c51ed;hb=55b4bc7eb9295ce335fad273d08d82d62ce4b7ea;hpb=8d691989077a0addcbd840d769dce6700f3d9622 diff --git a/src/cqlstring.c b/src/cqlstring.c index d9923e5..5d66b45 100644 --- a/src/cqlstring.c +++ b/src/cqlstring.c @@ -1,16 +1,14 @@ -/* $Id: cqlstring.c,v 1.6 2007-01-03 08:42:15 adam Exp $ - Copyright (C) 1995-2007, Index Data ApS - Index Data Aps - -This file is part of the YAZ toolkit. - -See the file LICENSE for details. -*/ - +/* This file is part of the YAZ toolkit. + * Copyright (C) Index Data + * See the file LICENSE for details. + */ /** * \file cqlstring.c * \brief Implements query stream reader that reads from a C string. */ +#if HAVE_CONFIG_H +#include +#endif #include @@ -40,13 +38,14 @@ int cql_parser_string(CQL_parser cp, const char *str) b.str = str; b.off = 0; - + return cql_parser_stream(cp, getbuf, ungetbuf, &b); } /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab