X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=include%2Fyaz%2Fzoom.h;h=7c3cb858a8495c1926ca2697009aee5f6420d969;hb=8d6d35f727159d4b6ed2dc941882704766f6e11e;hp=8258ef59c25d91baedc929a6aa9b8c732a739586;hpb=89929f93f8e83456495d777df76e48cd8c53c265;p=yaz-moved-to-github.git diff --git a/include/yaz/zoom.h b/include/yaz/zoom.h index 8258ef5..7c3cb85 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.36 2006-06-15 10:34:16 adam 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,11 @@ 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 *query_str, + const char *config, + int *ccl_error, const char **error_string, int *error_pos); /* PQF */ ZOOM_API(int) ZOOM_query_prefix(ZOOM_query s, const char *str);