X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fzoom.h;h=d64e40b0919a2ea92a04ba2a280065abdccfc20a;hb=6ab8e8163865c43772a6249cb2d12dfae83259ab;hp=70f72316807a1e4b8b374102d59efc9cece483bc;hpb=6202be57112ed26410889081bb0ab87a779ae0bf;p=yaz-moved-to-github.git diff --git a/include/yaz/zoom.h b/include/yaz/zoom.h index 70f7231..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.33 2005-12-21 16:43:13 mike 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); @@ -127,6 +129,7 @@ ZOOM_connection_last_event(ZOOM_connection cs); #define ZOOM_EVENT_RECV_APDU 7 #define ZOOM_EVENT_RECV_RECORD 8 #define ZOOM_EVENT_RECV_SEARCH 9 +#define ZOOM_EVENT_END 10 /* ----------------------------------------------------------- */ /* result sets */ @@ -199,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);