+/** \brief determines if connection is idle (no active or pending work)
+ \param c connection
+ \retval 1 is idle
+ \retval 0 is non-idle (active)
+*/
+ZOOM_API(int)
+ZOOM_connection_is_idle(ZOOM_connection c);
+
+
+/** \brief process one event for one of connections given
+ \param no number of connections (size of cs)
+ \param cs connection array
+ \retval 0 no event was processed
+ \retval >0 event was processed for connection at (retval-1)
+
+ This function attemps to deal with outstandings events in a non-blocking
+ mode. If no events was processed (return value of 0), then the system
+ should attempt to deal with sockets in blocking mode using socket
+ select/poll which means calling the following functions:
+ ZOOM_connection_get_socket, ZOOM_connection_get_mask,
+ ZOOM_connection_get_timeout.
+*/
+ZOOM_API(int)
+ZOOM_event_nonblock(int no, ZOOM_connection *cs);
+
+
+/** \brief process one event for connection
+ \param c connection
+ \retval 0 no event was processed
+ \retval 1 event was processed for connection
+
+ This function attemps to deal with outstandings events in
+ a non-blocking fashion. If no event was processed (return value of 0),
+ then the system should attempt to deal with sockets in blocking mode
+ using socket select/poll which means calling the following functions:
+ ZOOM_connection_get_socket, ZOOM_connection_get_mask,
+ ZOOM_connection_get_timeout. If an event was processed call this
+ function again.
+*/
+ZOOM_API(int)
+ZOOM_connection_process(ZOOM_connection c);
+
+
+/** \brief get socket fd for ZOOM connection
+ \param c connection
+ \retval -1 no socket assigned for connection
+ \retval >=0 socket for connection
+
+ Use this function when preparing for socket/poll and
+ in conjunction with ZOOM_connection_get_mask.
+*/