X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fzoom.h;h=71cea778634525acc141744e0650ce9581b542f6;hb=78723254cce0fc4e86db7e8d2bc503527d7c08f9;hp=f9329c1f7652a75d4709427ddeb1bbe0a28b50a0;hpb=3b10b3e056bb684b8f33123a79410f771adbee0a;p=yaz-moved-to-github.git diff --git a/include/yaz/zoom.h b/include/yaz/zoom.h index f9329c1..71cea77 100644 --- a/include/yaz/zoom.h +++ b/include/yaz/zoom.h @@ -1,8 +1,9 @@ /* * Public header for ZOOM C. - * $Id: zoom.h,v 1.18 2003-04-28 11:04:52 adam Exp $ + * $Id: zoom.h,v 1.21 2004-02-16 11:22:34 adam Exp $ */ +#include #include #define ZOOM_BEGIN_CDECL YAZ_BEGIN_CDECL @@ -94,6 +95,7 @@ ZOOM_diag_str (int error); #define ZOOM_ERROR_TIMEOUT 10007 #define ZOOM_ERROR_UNSUPPORTED_PROTOCOL 10008 #define ZOOM_ERROR_UNSUPPORTED_QUERY 10009 +#define ZOOM_ERROR_INVALID_QUERY 10010 ZOOM_API(int) ZOOM_connection_last_event(ZOOM_connection cs); @@ -189,6 +191,10 @@ ZOOM_API(const char *) ZOOM_scanset_term(ZOOM_scanset scan, size_t pos, int *occ, int *len); +ZOOM_API(const char *) +ZOOM_scanset_display_term(ZOOM_scanset scan, size_t pos, + int *occ, int *len); + ZOOM_API(size_t) ZOOM_scanset_size(ZOOM_scanset scan);