X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fzoom.h;h=956bd5105aae03dcb5673ffb18b7ab9635b4b8ed;hp=0937a20bbba3272ea9be7e818c828b6317f8e957;hb=4d531a1a9131d69c3b6c27fbac42837e22cff61c;hpb=162ddfa4248521c7af9183eac839353434c67f3c diff --git a/include/yaz/zoom.h b/include/yaz/zoom.h index 0937a20..956bd51 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.14 2002-11-30 22:30:51 mike Exp $ + * $Id: zoom.h,v 1.16 2003-01-06 08:20:27 adam Exp $ */ #include @@ -66,6 +66,10 @@ ZOOM_API(int) ZOOM_connection_error (ZOOM_connection c, const char **cp, const char **addinfo); +ZOOM_API(int) +ZOOM_connection_error_x (ZOOM_connection c, const char **cp, + const char **addinfo, const char **diagset); + /* returns error code */ ZOOM_API(int) ZOOM_connection_errcode (ZOOM_connection c); @@ -88,6 +92,7 @@ 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 ZOOM_API(int) ZOOM_connection_last_event(ZOOM_connection cs); @@ -162,7 +167,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 */