Towards 3.0.4
[yaz-moved-to-github.git] / include / yaz / cql.h
index 33535c7..ceb5abf 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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.15 2006-10-09 21:02:41 adam Exp $ */
-
-/* $Id: cql.h,v 1.15 2006-10-09 21:02:41 adam Exp $
-   Copyright (C) 1995-2005, Index Data ApS
-   Index Data Aps
-
-This file is part of the YAZ toolkit.
-
-See the file LICENSE.
-*/
+/* $Id: cql.h,v 1.18 2007-03-21 10:12:09 adam Exp $ */
 
 /** \file cql.h
     \brief Header with public definitions about CQL.
@@ -269,10 +260,10 @@ void cql_transform_close(cql_transform_t ct);
  * 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