Classes | Defines | Typedefs | Enumerations | Functions
multi.h File Reference
#include "curl.h"
Include dependency graph for multi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  curl_waitfd
struct  CURLMsg

Defines

#define CINIT(name, type, number)   CURLMOPT_name = type + number
#define CURL_CSELECT_ERR   0x04
#define CURL_CSELECT_IN   0x01
#define CURL_CSELECT_OUT   0x02
#define curl_multi_socket(x, y, z)   curl_multi_socket_action(x,y,0,z)
#define CURL_POLL_IN   1
#define CURL_POLL_INOUT   3
#define CURL_POLL_NONE   0
#define CURL_POLL_OUT   2
#define CURL_POLL_REMOVE   4
#define CURL_PUSH_DENY   1
#define CURL_PUSH_OK   0
#define CURL_SOCKET_TIMEOUT   CURL_SOCKET_BAD
#define CURL_WAIT_POLLIN   0x0001
#define CURL_WAIT_POLLOUT   0x0004
#define CURL_WAIT_POLLPRI   0x0002
#define CURLM_CALL_MULTI_SOCKET   CURLM_CALL_MULTI_PERFORM
#define CURLPIPE_HTTP1   1L
#define CURLPIPE_MULTIPLEX   2L
#define CURLPIPE_NOTHING   0L
#define FUNCTIONPOINT   CURLOPTTYPE_FUNCTIONPOINT
#define LONG   CURLOPTTYPE_LONG
#define OBJECTPOINT   CURLOPTTYPE_OBJECTPOINT
#define OFF_T   CURLOPTTYPE_OFF_T

Typedefs

typedef int(* curl_multi_timer_callback )(CURLM *multi, long timeout_ms, void *userp)
typedef int(* curl_push_callback )(CURL *parent, CURL *easy, size_t num_headers, struct curl_pushheaders *headers, void *userp)
typedef int(* curl_socket_callback )(CURL *easy, curl_socket_t s, int what, void *userp, void *socketp)
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_BAD_SOCKET, CURLM_UNKNOWN_OPTION,
  CURLM_ADDED_ALREADY, CURLM_LAST
}
enum  CURLMoption {
  CINIT = (SOCKETFUNCTION, FUNCTIONPOINT, 1), CINIT = (SOCKETFUNCTION, FUNCTIONPOINT, 1), CINIT = (SOCKETFUNCTION, FUNCTIONPOINT, 1), CINIT = (SOCKETFUNCTION, FUNCTIONPOINT, 1),
  CINIT = (SOCKETFUNCTION, FUNCTIONPOINT, 1), CINIT = (SOCKETFUNCTION, FUNCTIONPOINT, 1), CINIT = (SOCKETFUNCTION, FUNCTIONPOINT, 1), CINIT = (SOCKETFUNCTION, FUNCTIONPOINT, 1),
  CINIT = (SOCKETFUNCTION, FUNCTIONPOINT, 1), CINIT = (SOCKETFUNCTION, FUNCTIONPOINT, 1), CINIT = (SOCKETFUNCTION, FUNCTIONPOINT, 1), CINIT = (SOCKETFUNCTION, FUNCTIONPOINT, 1),
  CINIT = (SOCKETFUNCTION, FUNCTIONPOINT, 1), CINIT = (SOCKETFUNCTION, FUNCTIONPOINT, 1), CINIT = (SOCKETFUNCTION, FUNCTIONPOINT, 1), CURLMOPT_LASTENTRY
}
enum  CURLMSG { CURLMSG_NONE, CURLMSG_DONE, CURLMSG_LAST }

Functions

CURL_EXTERN CURLMcode curl_multi_add_handle (CURLM *multi_handle, CURL *curl_handle)
CURL_EXTERN CURLMcode curl_multi_assign (CURLM *multi_handle, curl_socket_t sockfd, void *sockp)
CURL_EXTERN CURLMcode curl_multi_cleanup (CURLM *multi_handle)
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 CURLMsgcurl_multi_info_read (CURLM *multi_handle, int *msgs_in_queue)
CURL_EXTERN CURLMcurl_multi_init (void)
CURL_EXTERN CURLMcode curl_multi_perform (CURLM *multi_handle, int *running_handles)
CURL_EXTERN CURLMcode curl_multi_remove_handle (CURLM *multi_handle, CURL *curl_handle)
CURL_EXTERN CURLMcode curl_multi_setopt (CURLM *multi_handle, CURLMoption option,...)
CURL_EXTERN CURLMcode curl_multi_socket (CURLM *multi_handle, curl_socket_t s, int *running_handles)
CURL_EXTERN CURLMcode curl_multi_socket_action (CURLM *multi_handle, curl_socket_t s, int ev_bitmask, int *running_handles)
CURL_EXTERN CURLMcode curl_multi_socket_all (CURLM *multi_handle, int *running_handles)
CURL_EXTERN const char * curl_multi_strerror (CURLMcode)
CURL_EXTERN CURLMcode curl_multi_timeout (CURLM *multi_handle, long *milliseconds)
CURL_EXTERN CURLMcode curl_multi_wait (CURLM *multi_handle, struct curl_waitfd extra_fds[], unsigned int extra_nfds, int timeout_ms, int *ret)
CURL_EXTERN char * curl_pushheader_byname (struct curl_pushheaders *h, const char *name)
CURL_EXTERN char * curl_pushheader_bynum (struct curl_pushheaders *h, size_t num)

Define Documentation

#define CINIT (   name,
  type,
  number 
)    CURLMOPT_name = type + number

Definition at line 330 of file multi.h.

#define CURL_CSELECT_ERR   0x04

Definition at line 266 of file multi.h.

#define CURL_CSELECT_IN   0x01

Definition at line 264 of file multi.h.

#define CURL_CSELECT_OUT   0x02

Definition at line 265 of file multi.h.

#define curl_multi_socket (   x,
  y,
  z 
)    curl_multi_socket_action(x,y,0,z)

Definition at line 305 of file multi.h.

#define CURL_POLL_IN   1

Definition at line 257 of file multi.h.

#define CURL_POLL_INOUT   3

Definition at line 259 of file multi.h.

#define CURL_POLL_NONE   0

Definition at line 256 of file multi.h.

#define CURL_POLL_OUT   2

Definition at line 258 of file multi.h.

#define CURL_POLL_REMOVE   4

Definition at line 260 of file multi.h.

#define CURL_PUSH_DENY   1

Definition at line 420 of file multi.h.

#define CURL_PUSH_OK   0

Definition at line 419 of file multi.h.

Definition at line 262 of file multi.h.

#define CURL_WAIT_POLLIN   0x0001

Definition at line 106 of file multi.h.

#define CURL_WAIT_POLLOUT   0x0004

Definition at line 108 of file multi.h.

#define CURL_WAIT_POLLPRI   0x0002

Definition at line 107 of file multi.h.

Definition at line 79 of file multi.h.

#define CURLPIPE_HTTP1   1L

Definition at line 83 of file multi.h.

#define CURLPIPE_MULTIPLEX   2L

Definition at line 84 of file multi.h.

#define CURLPIPE_NOTHING   0L

Definition at line 82 of file multi.h.

Definition at line 328 of file multi.h.

#define LONG   CURLOPTTYPE_LONG

Definition at line 326 of file multi.h.

Definition at line 327 of file multi.h.

#define OFF_T   CURLOPTTYPE_OFF_T

Definition at line 329 of file multi.h.


Typedef Documentation

typedef int(* curl_multi_timer_callback)(CURLM *multi,long timeout_ms,void *userp)

Definition at line 285 of file multi.h.

typedef int(* curl_push_callback)(CURL *parent, CURL *easy, size_t num_headers, struct curl_pushheaders *headers, void *userp)

Definition at line 429 of file multi.h.

typedef int(* curl_socket_callback)(CURL *easy,curl_socket_t s,int what,void *userp,void *socketp)

Definition at line 268 of file multi.h.

typedef void CURLM

Definition at line 58 of file multi.h.

typedef struct CURLMsg CURLMsg

Definition at line 101 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_BAD_SOCKET 
CURLM_UNKNOWN_OPTION 
CURLM_ADDED_ALREADY 
CURLM_LAST 

Definition at line 61 of file multi.h.

Enumerator:
CINIT 
CINIT 
CINIT 
CINIT 
CINIT 
CINIT 
CINIT 
CINIT 
CINIT 
CINIT 
CINIT 
CINIT 
CINIT 
CINIT 
CINIT 
CURLMOPT_LASTENTRY 

Definition at line 333 of file multi.h.

enum CURLMSG
Enumerator:
CURLMSG_NONE 
CURLMSG_DONE 
CURLMSG_LAST 

Definition at line 86 of file multi.h.


Function Documentation

CURL_EXTERN CURLMcode curl_multi_add_handle ( CURLM multi_handle,
CURL curl_handle 
)
CURL_EXTERN CURLMcode curl_multi_assign ( CURLM multi_handle,
curl_socket_t  sockfd,
void *  sockp 
)
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 CURLMsg* curl_multi_info_read ( CURLM multi_handle,
int *  msgs_in_queue 
)
CURL_EXTERN CURLM* curl_multi_init ( void  ) [read]

Definition at line 355 of file multi.c.

CURL_EXTERN CURLMcode curl_multi_perform ( CURLM multi_handle,
int *  running_handles 
)
CURL_EXTERN CURLMcode curl_multi_remove_handle ( CURLM multi_handle,
CURL curl_handle 
)
CURL_EXTERN CURLMcode curl_multi_setopt ( CURLM multi_handle,
CURLMoption  option,
  ... 
)
CURL_EXTERN CURLMcode curl_multi_socket ( CURLM multi_handle,
curl_socket_t  s,
int *  running_handles 
)
CURL_EXTERN CURLMcode curl_multi_socket_action ( CURLM multi_handle,
curl_socket_t  s,
int  ev_bitmask,
int *  running_handles 
)
CURL_EXTERN CURLMcode curl_multi_socket_all ( CURLM multi_handle,
int *  running_handles 
)

Definition at line 348 of file strerror.c.

CURL_EXTERN CURLMcode curl_multi_timeout ( CURLM multi_handle,
long *  milliseconds 
)
CURL_EXTERN CURLMcode curl_multi_wait ( CURLM multi_handle,
struct curl_waitfd  extra_fds[],
unsigned int  extra_nfds,
int  timeout_ms,
int *  ret 
)
CURL_EXTERN char* curl_pushheader_byname ( struct curl_pushheaders *  h,
const char *  name 
)

Definition at line 2207 of file http2.c.

CURL_EXTERN char* curl_pushheader_bynum ( struct curl_pushheaders *  h,
size_t  num 
)

Definition at line 2200 of file http2.c.



rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:09