X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fcql.h;h=ceb5abfd95d2759d92e4a5760cd339ca8f2ee6f1;hb=297aa7b45c3bd88aea2799f6810c8c85bc998f56;hp=26ff71dce0221b2ca3aec0f0fb611ca73dd7e369;hpb=c83035e0e0177b385091cd273562ea0d222b5908;p=yaz-moved-to-github.git diff --git a/include/yaz/cql.h b/include/yaz/cql.h index 26ff71d..ceb5abf 100644 --- a/include/yaz/cql.h +++ b/include/yaz/cql.h @@ -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: @@ -24,7 +24,7 @@ * (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. @@ -260,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