Classes | Defines | Functions
connect.h File Reference
#include "curl_setup.h"
#include "nonblock.h"
#include "sockaddr.h"
Include dependency graph for connect.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Curl_sockaddr_ex

Defines

#define connclose(x, y)   Curl_conncontrol(x, CONNCTRL_CONNECTION)
#define CONNCTRL_CONNECTION   1
#define CONNCTRL_KEEP   0 /* undo a marked closure */
#define CONNCTRL_STREAM   2
#define connkeep(x, y)   Curl_conncontrol(x, CONNCTRL_KEEP)
#define Curl_sndbufset(y)   Curl_nop_stmt
#define DEFAULT_CONNECT_TIMEOUT   300000 /* milliseconds == five minutes */
#define HAPPY_EYEBALLS_TIMEOUT
#define sa_addr   _sa_ex_u.addr
#define streamclose(x, y)   Curl_conncontrol(x, CONNCTRL_STREAM)

Functions

int Curl_closesocket (struct connectdata *conn, curl_socket_t sock)
bool Curl_conn_data_pending (struct connectdata *conn, int sockindex)
bool Curl_connalive (struct connectdata *conn)
void Curl_conncontrol (struct connectdata *conn, int closeit)
CURLcode Curl_connecthost (struct connectdata *conn, const struct Curl_dns_entry *host)
curl_socket_t Curl_getconnectinfo (struct Curl_easy *data, struct connectdata **connp)
CURLcode Curl_is_connected (struct connectdata *conn, int sockindex, bool *connected)
void Curl_persistconninfo (struct connectdata *conn)
CURLcode Curl_socket (struct connectdata *conn, const Curl_addrinfo *ai, struct Curl_sockaddr_ex *addr, curl_socket_t *sockfd)
void Curl_tcpnodelay (struct connectdata *conn, curl_socket_t sockfd)
time_t Curl_timeleft (struct Curl_easy *data, struct timeval *nowp, bool duringconnect)
void Curl_updateconninfo (struct connectdata *conn, curl_socket_t sockfd)

Define Documentation

#define connclose (   x,
  y 
)    Curl_conncontrol(x, CONNCTRL_CONNECTION)

Definition at line 140 of file connect.h.

#define CONNCTRL_CONNECTION   1

Definition at line 124 of file connect.h.

#define CONNCTRL_KEEP   0 /* undo a marked closure */

Definition at line 123 of file connect.h.

#define CONNCTRL_STREAM   2

Definition at line 125 of file connect.h.

#define connkeep (   x,
  y 
)    Curl_conncontrol(x, CONNCTRL_KEEP)

Definition at line 141 of file connect.h.

#define Curl_sndbufset (   y)    Curl_nop_stmt

Definition at line 71 of file connect.h.

#define DEFAULT_CONNECT_TIMEOUT   300000 /* milliseconds == five minutes */

Definition at line 42 of file connect.h.

Value:
200 /* milliseconds to wait between
                                          IPv4/IPv6 connection attempts */

Definition at line 43 of file connect.h.

#define sa_addr   _sa_ex_u.addr

Definition at line 95 of file connect.h.

#define streamclose (   x,
  y 
)    Curl_conncontrol(x, CONNCTRL_STREAM)

Definition at line 139 of file connect.h.


Function Documentation

int Curl_closesocket ( struct connectdata conn,
curl_socket_t  sock 
)

Definition at line 1289 of file connect.c.

bool Curl_conn_data_pending ( struct connectdata conn,
int  sockindex 
)

Definition at line 1409 of file connect.c.

bool Curl_connalive ( struct connectdata conn)

Definition at line 1260 of file connect.c.

void Curl_conncontrol ( struct connectdata conn,
int  closeit 
)

Definition at line 1387 of file connect.c.

CURLcode Curl_connecthost ( struct connectdata conn,
const struct Curl_dns_entry host 
)

Definition at line 1153 of file connect.c.

curl_socket_t Curl_getconnectinfo ( struct Curl_easy data,
struct connectdata **  connp 
)

Definition at line 1219 of file connect.c.

CURLcode Curl_is_connected ( struct connectdata conn,
int  sockindex,
bool connected 
)

Definition at line 721 of file connect.c.

void Curl_persistconninfo ( struct connectdata conn)

Definition at line 600 of file connect.c.

CURLcode Curl_socket ( struct connectdata conn,
const Curl_addrinfo ai,
struct Curl_sockaddr_ex addr,
curl_socket_t sockfd 
)

Definition at line 1323 of file connect.c.

void Curl_tcpnodelay ( struct connectdata conn,
curl_socket_t  sockfd 
)

Definition at line 874 of file connect.c.

time_t Curl_timeleft ( struct Curl_easy data,
struct timeval nowp,
bool  duringconnect 
)

Definition at line 182 of file connect.c.

void Curl_updateconninfo ( struct connectdata conn,
curl_socket_t  sockfd 
)

Definition at line 663 of file connect.c.



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