From 6ab8e8163865c43772a6249cb2d12dfae83259ab Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 13 Jun 2006 16:20:04 +0000 Subject: [PATCH] Add ZOOM_query_ccl2rpn() and two new error-codes that it generates: ZOOM_ERROR_CCL_CONFIG and ZOOM_ERROR_CCL_PARSE --- include/yaz/zoom.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/yaz/zoom.h b/include/yaz/zoom.h index 8258ef5..d64e40b 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.34 2006-04-07 11:27:24 adam Exp $ + * $Id: zoom.h,v 1.35 2006-06-13 16:20:04 mike Exp $ */ /** * \file zoom.h @@ -113,6 +113,8 @@ ZOOM_diag_str (int error); #define ZOOM_ERROR_INVALID_QUERY 10010 #define ZOOM_ERROR_CQL_PARSE 10011 #define ZOOM_ERROR_CQL_TRANSFORM 10012 +#define ZOOM_ERROR_CCL_CONFIG 10013 +#define ZOOM_ERROR_CCL_PARSE 10014 ZOOM_API(int) ZOOM_connection_last_event(ZOOM_connection cs); @@ -200,6 +202,9 @@ 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); +/* CCL translated client-side into RPN: `conn' is optional for diagnostics */ +ZOOM_API(int) +ZOOM_query_ccl2rpn(ZOOM_query s, const char *str, ZOOM_connection conn); /* PQF */ ZOOM_API(int) ZOOM_query_prefix(ZOOM_query s, const char *str); -- 1.7.10.4