X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fzoom.h;h=70f72316807a1e4b8b374102d59efc9cece483bc;hp=29b09e4ed51717d52dd3596fc462da6a7b3b01fe;hb=6202be57112ed26410889081bb0ab87a779ae0bf;hpb=6e8a098c117cb6a92c30c536f7ec939520c18e22 diff --git a/include/yaz/zoom.h b/include/yaz/zoom.h index 29b09e4..70f7231 100644 --- a/include/yaz/zoom.h +++ b/include/yaz/zoom.h @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: zoom.h,v 1.31 2005-12-19 17:04:22 mike Exp $ + * $Id: zoom.h,v 1.33 2005-12-21 16:43:13 mike Exp $ */ /** * \file zoom.h @@ -111,6 +111,8 @@ ZOOM_diag_str (int error); #define ZOOM_ERROR_UNSUPPORTED_PROTOCOL 10008 #define ZOOM_ERROR_UNSUPPORTED_QUERY 10009 #define ZOOM_ERROR_INVALID_QUERY 10010 +#define ZOOM_ERROR_CQL_PARSE 10011 +#define ZOOM_ERROR_CQL_TRANSFORM 10012 ZOOM_API(int) ZOOM_connection_last_event(ZOOM_connection cs); @@ -194,6 +196,9 @@ ZOOM_query_destroy(ZOOM_query s); /* CQL */ ZOOM_API(int) ZOOM_query_cql(ZOOM_query s, const char *str); +/* CQL translated client-side into RPN: `conn' is optional for diagnostics */ +ZOOM_API(int) +ZOOM_query_cql2rpn(ZOOM_query s, const char *str, ZOOM_connection conn); /* PQF */ ZOOM_API(int) ZOOM_query_prefix(ZOOM_query s, const char *str);