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

Go to the source code of this file.

Classes

struct  HTTP::back
struct  Curl_send_buffer
struct  HTTP
struct  http_conn

Defines

#define CURLAUTH_PICKNONE   (1<<30) /* don't use auth */

Typedefs

typedef struct Curl_send_buffer Curl_send_buffer
typedef int(* recving )(void)
typedef int(* sending )(void)

Functions

CURLcode Curl_add_buffer (Curl_send_buffer *in, const void *inptr, size_t size)
void Curl_add_buffer_free (Curl_send_buffer *buff)
Curl_send_bufferCurl_add_buffer_init (void)
CURLcode Curl_add_buffer_send (Curl_send_buffer *in, struct connectdata *conn, long *bytes_written, size_t included_body_bytes, int socketindex)
CURLcode Curl_add_bufferf (Curl_send_buffer *in, const char *fmt,...)
CURLcode Curl_add_custom_headers (struct connectdata *conn, bool is_connect, Curl_send_buffer *req_buffer)
CURLcode Curl_add_timecondition (struct Curl_easy *data, Curl_send_buffer *buf)
char * Curl_checkheaders (const struct connectdata *conn, const char *thisheader)
char * Curl_checkProxyheaders (const struct connectdata *conn, const char *thisheader)
bool Curl_compareheader (const char *headerline, const char *header, const char *content)
char * Curl_copy_header_value (const char *header)
CURLcode Curl_http (struct connectdata *conn, bool *done)
CURLcode Curl_http_auth_act (struct connectdata *conn)
void Curl_http_auth_stage (struct Curl_easy *data, int stage)
CURLcode Curl_http_connect (struct connectdata *conn, bool *done)
CURLcode Curl_http_done (struct connectdata *, CURLcode, bool premature)
CURLcode Curl_http_input_auth (struct connectdata *conn, bool proxy, const char *auth)
CURLcode Curl_http_output_auth (struct connectdata *conn, const char *request, const char *path, bool proxytunnel)
CURLcode Curl_http_perhapsrewind (struct connectdata *conn)
CURLcode Curl_http_readwrite_headers (struct Curl_easy *data, struct connectdata *conn, ssize_t *nread, bool *stop_reading)
CURLcode Curl_http_setup_conn (struct connectdata *conn)
void Curl_httpchunk_init (struct connectdata *conn)
CHUNKcode Curl_httpchunk_read (struct connectdata *conn, char *datap, ssize_t length, ssize_t *wrote)

Variables

struct Curl_handler Curl_handler_http

Define Documentation

#define CURLAUTH_PICKNONE   (1<<30) /* don't use auth */

Definition at line 100 of file http.h.


Typedef Documentation

Definition at line 60 of file http.h.

typedef int(* recving)(void)

Definition at line 189 of file http.h.

typedef int(* sending)(void)

Definition at line 188 of file http.h.


Function Documentation

CURLcode Curl_add_buffer ( Curl_send_buffer in,
const void *  inptr,
size_t  size 
)

Definition at line 1234 of file http.c.

Definition at line 1047 of file http.c.

Definition at line 1039 of file http.c.

CURLcode Curl_add_buffer_send ( Curl_send_buffer in,
struct connectdata conn,
long *  bytes_written,
size_t  included_body_bytes,
int  socketindex 
)

Definition at line 1060 of file http.c.

CURLcode Curl_add_bufferf ( Curl_send_buffer in,
const char *  fmt,
  ... 
)

Definition at line 1212 of file http.c.

CURLcode Curl_add_custom_headers ( struct connectdata conn,
bool  is_connect,
Curl_send_buffer req_buffer 
)

Definition at line 1550 of file http.c.

Definition at line 1667 of file http.c.

char* Curl_checkheaders ( const struct connectdata conn,
const char *  thisheader 
)

Definition at line 177 of file http.c.

char* Curl_checkProxyheaders ( const struct connectdata conn,
const char *  thisheader 
)

Definition at line 201 of file http.c.

bool Curl_compareheader ( const char *  headerline,
const char *  header,
const char *  content 
)

Definition at line 1296 of file http.c.

char* Curl_copy_header_value ( const char *  header)

Definition at line 224 of file http.c.

CURLcode Curl_http ( struct connectdata conn,
bool done 
)

Definition at line 1729 of file http.c.

Definition at line 486 of file http.c.

void Curl_http_auth_stage ( struct Curl_easy data,
int  stage 
)
CURLcode Curl_http_connect ( struct connectdata conn,
bool done 
)

Definition at line 1348 of file http.c.

CURLcode Curl_http_done ( struct connectdata ,
CURLcode  ,
bool  premature 
)

Definition at line 1422 of file http.c.

CURLcode Curl_http_input_auth ( struct connectdata conn,
bool  proxy,
const char *  auth 
)

Definition at line 744 of file http.c.

CURLcode Curl_http_output_auth ( struct connectdata conn,
const char *  request,
const char *  path,
bool  proxytunnel 
)

Curl_http_output_auth() setups the authentication headers for the host/proxy and the correct authentication method. conn->data->state.authdone is set to TRUE when authentication is done.

Parameters:
connall information about the current connection
requestpointer to the request keyword
pathpointer to the requested path
proxytunnelboolean if this is the request setting up a "proxy tunnel"
Returns:
CURLcode

Definition at line 670 of file http.c.

CURLcode Curl_http_readwrite_headers ( struct Curl_easy data,
struct connectdata conn,
ssize_t nread,
bool stop_reading 
)

Definition at line 2912 of file http.c.

Definition at line 152 of file http.c.

void Curl_httpchunk_init ( struct connectdata conn)

Definition at line 86 of file http_chunks.c.

CHUNKcode Curl_httpchunk_read ( struct connectdata conn,
char *  datap,
ssize_t  length,
ssize_t wrote 
)

Definition at line 105 of file http_chunks.c.


Variable Documentation

Definition at line 107 of file http.c.



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