Define ZOOM_EVENT_MAX (max event ID)
[yaz-moved-to-github.git] / include / yaz / zoom.h
index 1a07437..cdefb6f 100644 (file)
@@ -151,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 */
@@ -489,6 +490,8 @@ ZOOM_API(int)
 ZOOM_API(const char *)
     ZOOM_get_event_str(int event);
 
+ZOOM_END_CDECL
+
 /*
  * Local variables:
  * c-basic-offset: 4