D:/opendownloadmanager/ODM-1.x/InetFile/cURL_lib/select.h File Reference

#include "setup.h"

Go to the source code of this file.

Classes

struct  pollfd

Defines

#define POLLIN   0x01
#define POLLPRI   0x02
#define POLLOUT   0x04
#define POLLERR   0x08
#define POLLHUP   0x10
#define POLLNVAL   0x20
#define POLLRDNORM   POLLIN
#define POLLWRNORM   POLLOUT
#define POLLRDBAND   POLLPRI

Functions

int Curl_socket_ready (curl_socket_t readfd, curl_socket_t writefd, int timeout_ms)
int Curl_poll (struct pollfd ufds[], unsigned int nfds, int timeout_ms)


Define Documentation

#define POLLERR   0x08

Definition at line 28 of file select.h.

Referenced by Curl_socket_ready().

#define POLLHUP   0x10

Definition at line 29 of file select.h.

Referenced by Curl_socket_ready().

#define POLLIN   0x01

#define POLLNVAL   0x20

Definition at line 30 of file select.h.

Referenced by Curl_socket_ready().

#define POLLOUT   0x04

Definition at line 27 of file select.h.

Referenced by Curl_poll(), Curl_socket_ready(), and asio::detail::socket_ops::poll_write().

#define POLLPRI   0x02

Definition at line 26 of file select.h.

Referenced by Curl_poll(), and Curl_socket_ready().

#define POLLRDBAND   POLLPRI

Definition at line 50 of file select.h.

Referenced by Curl_poll(), and Curl_socket_ready().

#define POLLRDNORM   POLLIN

Definition at line 42 of file select.h.

Referenced by Curl_poll(), and Curl_socket_ready().

#define POLLWRNORM   POLLOUT

Definition at line 46 of file select.h.

Referenced by Curl_poll(), and Curl_socket_ready().


Function Documentation

int Curl_poll ( struct pollfd  ufds[],
unsigned int  nfds,
int  timeout_ms 
)

int Curl_socket_ready ( curl_socket_t  readfd,
curl_socket_t  writefd,
int  timeout_ms 
)


Generated on Sun May 25 00:20:09 2008 by  doxygen 1.5.6