doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Typedefs | Enumerations | Functions
multi.h File Reference
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/types.h>
#include "curl.h"

Go to the source code of this file.

Classes

struct  CURLMsg
 

Typedefs

typedef void CURLM
 
typedef struct CURLMsg CURLMsg
 

Enumerations

enum  CURLMcode {
  CURLM_CALL_MULTI_PERFORM =-1, CURLM_OK, CURLM_BAD_HANDLE, CURLM_BAD_EASY_HANDLE,
  CURLM_OUT_OF_MEMORY, CURLM_INTERNAL_ERROR, CURLM_LAST
}
 
enum  CURLMSG { CURLMSG_NONE, CURLMSG_DONE, CURLMSG_LAST }
 

Functions

CURLMcurl_multi_init (void)
 
CURLMcode curl_multi_add_handle (CURLM *multi_handle, CURL *curl_handle)
 
CURLMcode curl_multi_remove_handle (CURLM *multi_handle, CURL *curl_handle)
 
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)
 
CURLMcode curl_multi_perform (CURLM *multi_handle, int *running_handles)
 
CURLMcode curl_multi_cleanup (CURLM *multi_handle)
 
CURLMsgcurl_multi_info_read (CURLM *multi_handle, int *msgs_in_queue)
 

Typedef Documentation

typedef void CURLM

Definition at line 76 of file multi.h.

typedef struct CURLMsg CURLMsg

Definition at line 103 of file multi.h.

Enumeration Type Documentation

enum CURLMcode
Enumerator
CURLM_CALL_MULTI_PERFORM 
CURLM_OK 
CURLM_BAD_HANDLE 
CURLM_BAD_EASY_HANDLE 
CURLM_OUT_OF_MEMORY 
CURLM_INTERNAL_ERROR 
CURLM_LAST 

Definition at line 78 of file multi.h.

enum CURLMSG
Enumerator
CURLMSG_NONE 
CURLMSG_DONE 
CURLMSG_LAST 

Definition at line 88 of file multi.h.

Function Documentation

CURLMcode curl_multi_add_handle ( CURLM multi_handle,
CURL curl_handle 
)

Definition at line 134 of file multi.c.

CURLMcode curl_multi_cleanup ( CURLM multi_handle)

Definition at line 583 of file multi.c.

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 
)

Definition at line 231 of file multi.c.

CURLMsg* curl_multi_info_read ( CURLM multi_handle,
int msgs_in_queue 
)

Definition at line 614 of file multi.c.

CURLM* curl_multi_init ( void  )

Definition at line 114 of file multi.c.

CURLMcode curl_multi_perform ( CURLM multi_handle,
int running_handles 
)

Definition at line 306 of file multi.c.

CURLMcode curl_multi_remove_handle ( CURLM multi_handle,
CURL curl_handle 
)

Definition at line 182 of file multi.c.