Logo ROOT  
Reference Guide
mg_context Struct Reference

Definition at line 2589 of file civetweb.c.

Public Attributes

struct mg_callbacks callbacks
 
unsigned int cfg_worker_threads
 
struct socketclient_socks
 
void ** client_wait_events
 
int context_type
 
struct mg_domain_context dd
 
struct pollfd * listening_socket_fds
 
struct socketlistening_sockets
 
pthread_t masterthreadid
 
unsigned int max_request_size
 
pthread_mutex_t nonce_mutex
 
unsigned int num_listening_sockets
 
time_t start_time
 
volatile int stop_flag
 
char * systemName
 
pthread_mutex_t thread_mutex
 
voiduser_data
 
struct mg_connectionworker_connections
 
pthread_t * worker_threadids
 

Member Data Documentation

◆ callbacks

struct mg_callbacks mg_context::callbacks

Definition at line 2662 of file civetweb.c.

◆ cfg_worker_threads

unsigned int mg_context::cfg_worker_threads

Definition at line 2622 of file civetweb.c.

◆ client_socks

struct socket* mg_context::client_socks

Definition at line 2627 of file civetweb.c.

◆ client_wait_events

void** mg_context::client_wait_events

Definition at line 2628 of file civetweb.c.

◆ context_type

int mg_context::context_type

Definition at line 2598 of file civetweb.c.

◆ dd

struct mg_domain_context mg_context::dd

Definition at line 2672 of file civetweb.c.

◆ listening_socket_fds

struct pollfd* mg_context::listening_socket_fds

Definition at line 2601 of file civetweb.c.

◆ listening_sockets

struct socket* mg_context::listening_sockets

Definition at line 2600 of file civetweb.c.

◆ masterthreadid

pthread_t mg_context::masterthreadid

Definition at line 2620 of file civetweb.c.

◆ max_request_size

unsigned int mg_context::max_request_size

Definition at line 2638 of file civetweb.c.

◆ nonce_mutex

pthread_mutex_t mg_context::nonce_mutex

Definition at line 2659 of file civetweb.c.

◆ num_listening_sockets

unsigned int mg_context::num_listening_sockets

Definition at line 2602 of file civetweb.c.

◆ start_time

time_t mg_context::start_time

Definition at line 2646 of file civetweb.c.

◆ stop_flag

volatile int mg_context::stop_flag

Definition at line 2617 of file civetweb.c.

◆ systemName

char* mg_context::systemName

Definition at line 2645 of file civetweb.c.

◆ thread_mutex

pthread_mutex_t mg_context::thread_mutex

Definition at line 2618 of file civetweb.c.

◆ user_data

void* mg_context::user_data

Definition at line 2663 of file civetweb.c.

◆ worker_connections

struct mg_connection* mg_context::worker_connections

Definition at line 2604 of file civetweb.c.

◆ worker_threadids

pthread_t* mg_context::worker_threadids

Definition at line 2623 of file civetweb.c.

Collaboration diagram for mg_context:
[legend]

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