doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
connect.c File Reference
#include "setup.h"
#include <sys/time.h>
#include <sys/ioctl.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include "urldata.h"
#include "sendf.h"
#include "if2ip.h"
#include "connect.h"

Go to the source code of this file.

Macros

#define min(a, b)   ((a) < (b) ? (a) : (b))
 

Functions

int Curl_ourerrno (void)
 
int Curl_nonblock (curl_socket_t sockfd, int nonblock)
 
CURLcode Curl_is_connected (struct connectdata *conn, curl_socket_t sockfd, bool *connected)
 
CURLcode Curl_connecthost (struct connectdata *conn, struct Curl_dns_entry *remotehost, int port, curl_socket_t *sockconn, Curl_ipconnect **addr, bool *connected)
 

Macro Definition Documentation

#define min (   a,
  b 
)    ((a) < (b) ? (a) : (b))

Function Documentation

CURLcode Curl_connecthost ( struct connectdata conn,
struct Curl_dns_entry remotehost,
int  port,
curl_socket_t sockconn,
Curl_ipconnect **  addr,
bool connected 
)

Definition at line 513 of file connect.c.

CURLcode Curl_is_connected ( struct connectdata conn,
curl_socket_t  sockfd,
bool connected 
)

Definition at line 437 of file connect.c.

int Curl_nonblock ( curl_socket_t  sockfd,
int  nonblock 
)

Definition at line 114 of file connect.c.

int Curl_ourerrno ( void  )

Definition at line 98 of file connect.c.