Logo ROOT  
Reference Guide
response.inl File Reference
This graph shows which files directly or indirectly include this file:


static void free_buffered_response_header_list (struct mg_connection *conn)
int mg_response_header_add (struct mg_connection *conn, const char *header, const char *value, int value_len)
int mg_response_header_add_lines (struct mg_connection *conn, const char *http1_headers)
int mg_response_header_send (struct mg_connection *conn)
int mg_response_header_start (struct mg_connection *conn, int status)
static int parse_http_headers (char **buf, struct mg_header hdr[MG_MAX_HEADERS])
static void send_http1_response_status_line (struct mg_connection *conn)

Function Documentation

◆ free_buffered_response_header_list()

static void free_buffered_response_header_list ( struct mg_connection conn)

Definition at line 17 of file response.inl.

◆ mg_response_header_add()

int mg_response_header_add ( struct mg_connection conn,
const char *  header,
const char *  value,
int  value_len 

Definition at line 120 of file response.inl.

◆ mg_response_header_add_lines()

int mg_response_header_add_lines ( struct mg_connection conn,
const char *  http1_headers 

Definition at line 209 of file response.inl.

◆ mg_response_header_send()

int mg_response_header_send ( struct mg_connection conn)

Definition at line 259 of file response.inl.

◆ mg_response_header_start()

int mg_response_header_start ( struct mg_connection conn,
int  status 

Definition at line 73 of file response.inl.

◆ parse_http_headers()

static int parse_http_headers ( char **  buf,
struct mg_header  hdr[MG_MAX_HEADERS] 

◆ send_http1_response_status_line()

static void send_http1_response_status_line ( struct mg_connection conn)

Definition at line 41 of file response.inl.