-/*
- * Copyright (c) 1995-2007, Index Data
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data.
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-/* $Id: cql.h,v 1.19 2007-11-14 21:03:59 adam Exp $ */
/** \file cql.h
\brief Header with public definitions about CQL.
char *relation_uri;
/** relation modifiers */
struct cql_node *modifiers;
+ /** term list */
+ struct cql_node *extra_terms;
} st;
/** which == CQL_NODE_BOOL */
struct {
YAZ_EXPORT
int cql_transform_error(cql_transform_t ct, const char **addinfo);
+/** \brief sets error and addinfo for transform
+ \param ct CQL transform handle
+ \param error error code
+ \param addinfo additional info
+ */
+YAZ_EXPORT
+void cql_transform_set_error(cql_transform_t ct, int error, const char *addinfo);
+
/** \brief returns the CQL message corresponding to a given error code.
\param code error code
\returns text message