projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaz-ztest returns schema for MARCXML test records
[yaz-moved-to-github.git]
/
src
/
cqlstring.c
diff --git
a/src/cqlstring.c
b/src/cqlstring.c
index
8edd319
..
3d708dd
100644
(file)
--- a/
src/cqlstring.c
+++ b/
src/cqlstring.c
@@
-1,12
+1,14
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2009 Index Data
+ * Copyright (C) 1995-2013 Index Data
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
-
/**
* \file cqlstring.c
* \brief Implements query stream reader that reads from a C string.
*/
/**
* \file cqlstring.c
* \brief Implements query stream reader that reads from a C string.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/cql.h>
#include <yaz/cql.h>
@@
-36,13
+38,14
@@
int cql_parser_string(CQL_parser cp, const char *str)
b.str = str;
b.off = 0;
b.str = str;
b.off = 0;
-
+
return cql_parser_stream(cp, getbuf, ungetbuf, &b);
}
/*
* Local variables:
* c-basic-offset: 4
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
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab