Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mg_connection Struct Reference

#include <rcdaq/blob/master/mongoose.h>

+ Collaboration diagram for mg_connection:

Public Attributes

struct mg_connectionnext
 
struct mg_connectionprev
 
struct mg_connectionlistener
 
struct mg_mgrmgr
 
sock_t sock
 
int err
 
union socket_address sa
 
size_t recv_mbuf_limit
 
struct mbuf recv_mbuf
 
struct mbuf send_mbuf
 
SSLssl
 
SSL_CTXssl_ctx
 
time_t last_io_time
 
double ev_timer_time
 
mg_event_handler_t proto_handler
 
void * proto_data
 
void(* proto_data_destructor )(void *proto_data)
 
mg_event_handler_t handler
 
void * user_data
 
union {
   void *   v
 
   mg_event_handler_t   f
 
priv_1
 
void * priv_2
 
void * mgr_data
 
unsigned long flags
 

Detailed Description

Definition at line 1247 of file mongoose.h.

View newest version in sPHENIX GitHub at line 1247 of file mongoose.h

Member Data Documentation

int mg_connection::err

Definition at line 1253 of file mongoose.h.

View newest version in sPHENIX GitHub at line 1253 of file mongoose.h

Referenced by mg_if_connect_tcp(), mg_if_connect_udp(), and mg_mgr_handle_conn().

double mg_connection::ev_timer_time

Definition at line 1261 of file mongoose.h.

View newest version in sPHENIX GitHub at line 1261 of file mongoose.h

Referenced by mg_if_timer(), mg_mgr_poll(), and mg_set_timer().

mg_event_handler_t mg_connection::f

Definition at line 1273 of file mongoose.h.

View newest version in sPHENIX GitHub at line 1273 of file mongoose.h

time_t mg_connection::last_io_time

Definition at line 1260 of file mongoose.h.

View newest version in sPHENIX GitHub at line 1260 of file mongoose.h

Referenced by mg_create_connection_base(), mg_recv_common(), mg_send(), and mg_websocket_handler().

struct mg_connection* mg_connection::listener

Definition at line 1249 of file mongoose.h.

View newest version in sPHENIX GitHub at line 1249 of file mongoose.h

Referenced by mg_http_call_endpoint_handler(), mg_http_handler(), mg_if_accept_new_conn(), mg_if_destroy_conn(), mg_if_recv_udp_cb(), mg_mgr_poll(), and mg_send_ws_header().

void* mg_connection::mgr_data

Definition at line 1276 of file mongoose.h.

View newest version in sPHENIX GitHub at line 1276 of file mongoose.h

struct mg_connection* mg_connection::next

Definition at line 1248 of file mongoose.h.

View newest version in sPHENIX GitHub at line 1248 of file mongoose.h

Referenced by mg_add_conn(), mg_mgr_free(), mg_mgr_poll(), mg_next(), and mg_remove_conn().

struct mg_connection * mg_connection::prev

Definition at line 1248 of file mongoose.h.

View newest version in sPHENIX GitHub at line 1248 of file mongoose.h

Referenced by mg_add_conn(), and mg_remove_conn().

union { ... } mg_connection::priv_1
void* mg_connection::priv_2

Definition at line 1275 of file mongoose.h.

View newest version in sPHENIX GitHub at line 1275 of file mongoose.h

Referenced by mg_connect_opt(), and mg_set_timer().

void* mg_connection::proto_data

Definition at line 1263 of file mongoose.h.

View newest version in sPHENIX GitHub at line 1263 of file mongoose.h

Referenced by mg_destroy_conn(), and mg_http_get_proto_data().

void(* mg_connection::proto_data_destructor)(void *proto_data)

Definition at line 1264 of file mongoose.h.

View newest version in sPHENIX GitHub at line 1264 of file mongoose.h

Referenced by mg_destroy_conn(), and mg_http_get_proto_data().

mg_event_handler_t mg_connection::proto_handler

Definition at line 1262 of file mongoose.h.

View newest version in sPHENIX GitHub at line 1262 of file mongoose.h

Referenced by mg_call(), mg_http_handler(), mg_if_accept_new_conn(), mg_if_recv_udp_cb(), mg_set_protocol_dns(), mg_set_protocol_http_websocket(), and mg_set_protocol_mqtt().

size_t mg_connection::recv_mbuf_limit

Definition at line 1255 of file mongoose.h.

View newest version in sPHENIX GitHub at line 1255 of file mongoose.h

Referenced by mg_create_connection_base(), mg_if_accept_new_conn(), mg_if_recv_udp_cb(), mg_mgr_poll(), and recv_avail_size().

union socket_address mg_connection::sa
SSL* mg_connection::ssl
SSL_CTX* mg_connection::ssl_ctx

Definition at line 1259 of file mongoose.h.

View newest version in sPHENIX GitHub at line 1259 of file mongoose.h

Referenced by mg_accept_conn(), mg_connect_http_base(), mg_connect_opt(), mg_destroy_conn(), and mg_if_accept_new_conn().

void* mg_connection::user_data
void* mg_connection::v

Definition at line 1268 of file mongoose.h.

View newest version in sPHENIX GitHub at line 1268 of file mongoose.h


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