X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fpoll.h;h=08ac9b594774c6736628ff5b3ef849e98eeaa477;hb=bab540a6816b1ae07a834075e0c71d0f160565e4;hp=858eba958e8ede5a9f937f4878853c8697db5b6a;hpb=3576736bac485d8f04b2fc4f6b5cfcef7576d741;p=yaz-moved-to-github.git diff --git a/include/yaz/poll.h b/include/yaz/poll.h index 858eba9..08ac9b5 100644 --- a/include/yaz/poll.h +++ b/include/yaz/poll.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: poll.h,v 1.4 2007-11-30 11:44:46 adam Exp $ */ +/* $Id: poll.h,v 1.5 2008-02-21 10:15:03 adam Exp $ */ /** * \file @@ -71,6 +71,7 @@ struct yaz_poll_fd { This functions calls yaz_poll_poll on systems where poll is available and yaz_poll_select where it it unavailable. */ +YAZ_EXPORT int yaz_poll(struct yaz_poll_fd *fds, int num_fds, int sec, int nsec); #define yaz_poll_add(var,value) var = (enum yaz_poll_mask ) ((int) var | value)