X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fcqlstring.c;h=3d708ddb6ea2279f2128ff4c3c2eeee092d0c9b9;hp=2469b9791e5b68522525d2d9cd5dda5bb9047f22;hb=176adcd5ec7f2340fb6f0f625a727498db9c04c4;hpb=fb6d99a0c7e07d9cc4a315c447deaf6564a85505 diff --git a/src/cqlstring.c b/src/cqlstring.c index 2469b97..3d708dd 100644 --- a/src/cqlstring.c +++ b/src/cqlstring.c @@ -1,16 +1,14 @@ -/* $Id: cqlstring.c,v 1.5 2005-06-25 15:46:03 adam Exp $ - Copyright (C) 1995-2005, 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) 1995-2013 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