wut
1.0.0-beta9
Wii U Toolchain
|
Go to the documentation of this file.
73 #define CURLM_CALL_MULTI_SOCKET CURLM_CALL_MULTI_PERFORM
132 fd_set *write_fd_set,
153 int *running_handles);
218 #define CURL_POLL_NONE 0
219 #define CURL_POLL_IN 1
220 #define CURL_POLL_OUT 2
221 #define CURL_POLL_INOUT 3
222 #define CURL_POLL_REMOVE 4
224 #define CURL_SOCKET_TIMEOUT CURL_SOCKET_BAD
226 #define CURL_CSELECT_IN 0x01
227 #define CURL_CSELECT_OUT 0x02
228 #define CURL_CSELECT_ERR 0x04
253 int *running_handles);
258 int *running_handles);
261 int *running_handles);
263 #ifndef CURL_ALLOW_OLD_MULTI_SOCKET
267 #define curl_multi_socket(x,y,z) curl_multi_socket_action(x,y,0,z)
285 #define CINIT(name,type,num) CURLMOPT_ ## name = CURLOPTTYPE_ ## type + num
288 #define LONG CURLOPTTYPE_LONG
289 #define OBJECTPOINT CURLOPTTYPE_OBJECTPOINT
290 #define FUNCTIONPOINT CURLOPTTYPE_FUNCTIONPOINT
291 #define OFF_T CURLOPTTYPE_OFF_T
292 #define CINIT(name,type,number) CURLMOPT_name = type + number
297 CINIT(SOCKETFUNCTION, FUNCTIONPOINT, 1),
300 CINIT(SOCKETDATA, OBJECTPOINT, 2),
303 CINIT(PIPELINING, LONG, 3),
306 CINIT(TIMERFUNCTION, FUNCTIONPOINT, 4),
309 CINIT(TIMERDATA, OBJECTPOINT, 5),
312 CINIT(MAXCONNECTS, LONG, 6),
CURL_EXTERN CURLMsg * curl_multi_info_read(CURLM *multi_handle, int *msgs_in_queue)
CURL_EXTERN CURLMcode curl_multi_fdset(CURLM *multi_handle, fd_set *read_fd_set, fd_set *write_fd_set, fd_set *exc_fd_set, int *max_fd)
CURL_EXTERN CURLMcode curl_multi_assign(CURLM *multi_handle, curl_socket_t sockfd, void *sockp)
CURL_EXTERN CURLMcode curl_multi_add_handle(CURLM *multi_handle, CURL *curl_handle)
const CURL_EXTERN char * curl_multi_strerror(CURLMcode)
CURL_EXTERN CURLMcode curl_multi_remove_handle(CURLM *multi_handle, CURL *curl_handle)
#define CINIT(name, type, num)
CURL_EXTERN CURLMcode curl_multi_socket_all(CURLM *multi_handle, int *running_handles)
CURL_EXTERN CURLMcode curl_multi_perform(CURLM *multi_handle, int *running_handles)
CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle)
#define curl_multi_socket(x, y, z)
CURL_EXTERN CURLMcode curl_multi_setopt(CURLM *multi_handle, CURLMoption option,...)
int(* curl_socket_callback)(CURL *easy, curl_socket_t s, int what, void *userp, void *socketp)
CURL_EXTERN CURLMcode curl_multi_socket_action(CURLM *multi_handle, curl_socket_t s, int ev_bitmask, int *running_handles)
@ CURLM_CALL_MULTI_PERFORM
CURL_EXTERN CURLMcode curl_multi_timeout(CURLM *multi_handle, long *milliseconds)
CURL_EXTERN CURLM * curl_multi_init(void)
int(* curl_multi_timer_callback)(CURLM *multi, long timeout_ms, void *userp)