X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fzoom.h;h=3295eb022a1fd0377671cba5f2278cb2063aae63;hp=11282398aaf9dc19b5a143c7ad290d95935fccfa;hb=52741a76f17524da0bc416fe82db69eda7700797;hpb=951fce6496397a6d8c11e15ab5b60b46abc43467 diff --git a/include/yaz/zoom.h b/include/yaz/zoom.h index 1128239..3295eb0 100644 --- a/include/yaz/zoom.h +++ b/include/yaz/zoom.h @@ -24,7 +24,7 @@ * (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.42 2007-01-09 13:56:48 adam Exp $ */ +/* $Id: zoom.h,v 1.43 2007-01-10 13:25:46 adam Exp $ */ /** * \file zoom.h @@ -449,6 +449,17 @@ ZOOM_API(int) +/** \brief peek at next event + \param c connection + \returns ZOOM_EVENT_NONE (for no events in queue), ZOOM_EVENT_CONNECT, .. + + Does not actually remove the event from the event queue. ZOOM_event and + ZOOM_process_event removes one event. +*/ + +ZOOM_API(int) + ZOOM_connection_peek_event(ZOOM_connection c); + ZOOM_END_CDECL /* * Local variables: