/*
- * Copyright (c) 1995-2006, Index Data
+ * Copyright (c) 1995-2007, 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.16 2006-10-13 11:30:37 adam Exp $ */
+/* $Id: cql.h,v 1.18 2007-03-21 10:12:09 adam Exp $ */
/** \file cql.h
\brief Header with public definitions about CQL.
* transformation handle. The result is written to a user-defined stream.
*/
YAZ_EXPORT
-void cql_transform_pr(cql_transform_t ct,
- struct cql_node *cn,
- void (*pr)(const char *buf, void *client_data),
- void *client_data);
+int cql_transform(cql_transform_t ct,
+ struct cql_node *cn,
+ void (*pr)(const char *buf, void *client_data),
+ void *client_data);
/**
* Performs a CQL transform to PQF given a CQL node tree and a CQL