mirror of
https://github.com/curl/curl.git
synced 2026-08-26 03:53:32 +03:00
Curl_select() now uses curl_socket_t on socket arguments
This commit is contained in:
parent
cca9fca894
commit
765683403f
2 changed files with 3 additions and 5 deletions
|
|
@ -23,7 +23,6 @@
|
|||
* $Id$
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifdef HAVE_SYS_POLL_H
|
||||
#include <sys/poll.h>
|
||||
#else
|
||||
|
|
@ -44,12 +43,11 @@ struct pollfd
|
|||
|
||||
#endif
|
||||
|
||||
|
||||
#define CSELECT_IN 0x01
|
||||
#define CSELECT_OUT 0x02
|
||||
#define CSELECT_ERR 0x04
|
||||
|
||||
int Curl_select(int readfd, int writefd, int timeout_ms);
|
||||
int Curl_select(curl_socket_t readfd, curl_socket_t writefd, int timeout_ms);
|
||||
|
||||
int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue