X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fcqlstring.c;h=9d4c9b59bc1d3a05e87bf3f967a0a94179dfa1d0;hb=5bc2ee09e4dff0f872ce738a5327bced915e3474;hp=2469b9791e5b68522525d2d9cd5dda5bb9047f22;hpb=fb6d99a0c7e07d9cc4a315c447deaf6564a85505;p=yaz-moved-to-github.git diff --git a/src/cqlstring.c b/src/cqlstring.c index 2469b97..9d4c9b5 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-2012 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