X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fzoom.h;h=cdefb6f7a3de5186302d5986595bcf5af615f0b4;hp=11b233fe2a8c2ea2b6510cebee42b949ba3efee9;hb=df4b0f88de7de6ffcba31c26a0f0c94a15cbf2f8;hpb=28b634e1ab587807300c4eb3bab72acaebc1647f diff --git a/include/yaz/zoom.h b/include/yaz/zoom.h index 11b233fe..cdefb6f 100644 --- a/include/yaz/zoom.h +++ b/include/yaz/zoom.h @@ -1,5 +1,5 @@ -/* - * Copyright (c) 1995-2007, Index Data +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2008 Index Data. * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -24,7 +24,6 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* $Id: zoom.h,v 1.48 2007-12-11 13:35:45 adam Exp $ */ /** * \file zoom.h @@ -152,6 +151,7 @@ ZOOM_connection_last_event(ZOOM_connection cs); #define ZOOM_EVENT_RECV_RECORD 8 #define ZOOM_EVENT_RECV_SEARCH 9 #define ZOOM_EVENT_END 10 +#define ZOOM_EVENT_MAX 10 /* ----------------------------------------------------------- */ /* result sets */ @@ -173,7 +173,7 @@ ZOOM_resultset_option_get (ZOOM_resultset r, const char *key); ZOOM_API(void) ZOOM_resultset_option_set (ZOOM_resultset r, const char *key, const char *val); -/* return size of result set (alias hit count AKA result count) */ +/* return size of result set (alias hit count AKA result count) */ ZOOM_API(size_t) ZOOM_resultset_size (ZOOM_resultset r); @@ -487,7 +487,11 @@ ZOOM_API(int) ZOOM_API(int) ZOOM_connection_peek_event(ZOOM_connection c); +ZOOM_API(const char *) + ZOOM_get_event_str(int event); + ZOOM_END_CDECL + /* * Local variables: * c-basic-offset: 4