pazpar2  1.14.1
Public Types | Data Fields
http_channel Struct Reference

#include <http.h>

Public Types

enum  { Http_Idle , Http_Busy }
 

Data Fields

IOCHAN iochan
 
struct http_bufiqueue
 
struct http_bufoqueue
 
char version [10]
 
struct http_proxyproxy
 
enum http_channel:: { ... }  state
 
int keep_alive
 
NMEM nmem
 
WRBUF wrbuf
 
yaz_timing_t yt
 
struct http_requestrequest
 
struct http_responseresponse
 
struct http_channelnext
 
char addr [256]
 
http_channel_observer_t observers
 
struct conf_serverserver
 
http_server_t http_server
 
http_sessions_t http_sessions
 

Detailed Description

Definition at line 34 of file http.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Http_Idle 
Http_Busy 

Definition at line 41 of file http.h.

Field Documentation

◆ addr

char http_channel::addr[256]

Definition at line 53 of file http.h.

Referenced by http_channel_create(), and http_proxy().

◆ http_server

http_server_t http_channel::http_server

◆ http_sessions

http_sessions_t http_channel::http_sessions

◆ iochan

IOCHAN http_channel::iochan

Definition at line 36 of file http.h.

Referenced by http_accept(), http_channel_create(), http_io(), http_send_response(), and proxy_io().

◆ iqueue

struct http_buf* http_channel::iqueue

Definition at line 37 of file http.h.

Referenced by http_channel_create(), http_channel_destroy(), and http_io().

◆ keep_alive

int http_channel::keep_alive

Definition at line 46 of file http.h.

Referenced by http_channel_create(), http_error(), http_io(), and http_parse_request().

◆ next

struct http_channel* http_channel::next

Definition at line 52 of file http.h.

◆ nmem

NMEM http_channel::nmem

◆ observers

http_channel_observer_t http_channel::observers

◆ oqueue

struct http_buf* http_channel::oqueue

◆ proxy

struct http_proxy* http_channel::proxy

Definition at line 40 of file http.h.

Referenced by http_channel_create(), http_channel_destroy(), http_io(), and http_proxy().

◆ request

struct http_request* http_channel::request

◆ response

struct http_response* http_channel::response

◆ server

struct conf_server* http_channel::server

◆ 

enum { ... } http_channel::state

◆ version

char http_channel::version[10]

Definition at line 39 of file http.h.

Referenced by http_channel_create(), http_parse_request(), and http_serialize_response().

◆ wrbuf

WRBUF http_channel::wrbuf

◆ yt

yaz_timing_t http_channel::yt

Definition at line 49 of file http.h.

Referenced by http_channel_create(), http_channel_destroy(), http_io(), and http_send_response().


The documentation for this struct was generated from the following file: