X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fzoom.h;h=c5bca0e153b0f85613b018f30707e0e9a842ab5f;hb=a834d92665e792c011e86d5603968ab31237575a;hp=f0a9b7439c845435032453d8eef837f1375eb746;hpb=85fcb12fe992e4dc0fa91e95fc320943c1c26cc5;p=yaz-moved-to-github.git diff --git a/include/yaz/zoom.h b/include/yaz/zoom.h index f0a9b74..c5bca0e 100644 --- a/include/yaz/zoom.h +++ b/include/yaz/zoom.h @@ -1,6 +1,6 @@ /* * Public header for ZOOM C. - * $Id: zoom.h,v 1.15 2002-12-09 23:32:29 adam Exp $ + * $Id: zoom.h,v 1.17 2003-02-17 14:35:42 adam Exp $ */ #include @@ -92,6 +92,8 @@ ZOOM_diag_str (int error); #define ZOOM_ERROR_INIT 10005 #define ZOOM_ERROR_INTERNAL 10006 #define ZOOM_ERROR_TIMEOUT 10007 +#define ZOOM_ERROR_UNSUPPORTED_PROTOCOL 10008 +#define ZOOM_ERROR_UNSUPPORTED_QUERY 10009 ZOOM_API(int) ZOOM_connection_last_event(ZOOM_connection cs); @@ -166,7 +168,10 @@ ZOOM_query_create(void); /* destroy it */ ZOOM_API(void) ZOOM_query_destroy(ZOOM_query s); -/* specify prefix query for search */ +/* CQL */ +ZOOM_API(int) +ZOOM_query_cql(ZOOM_query s, const char *str); +/* PQF */ ZOOM_API(int) ZOOM_query_prefix(ZOOM_query s, const char *str); /* specify sort criteria for search */