Pyrogenesis trunk
Public Attributes | List of all members
mg_context Struct Reference
Collaboration diagram for mg_context:
Collaboration graph
[legend]

Public Attributes

volatile int stop_flag
 
SSL_CTXssl_ctx
 
char * config [NUM_OPTIONS]
 
mg_callback_t user_callback
 
void * user_data
 
struct socketlistening_sockets
 
volatile int num_threads
 
pthread_mutex_t mutex
 
pthread_cond_t cond
 
struct socket queue [20]
 
volatile int sq_head
 
volatile int sq_tail
 
pthread_cond_t sq_full
 
pthread_cond_t sq_empty
 

Member Data Documentation

◆ cond

pthread_cond_t mg_context::cond

◆ config

char * mg_context::config

◆ listening_sockets

struct socket * mg_context::listening_sockets

◆ mutex

pthread_mutex_t mg_context::mutex

◆ num_threads

volatile int mg_context::num_threads

◆ queue

struct socket mg_context::queue

◆ sq_empty

pthread_cond_t mg_context::sq_empty

◆ sq_full

pthread_cond_t mg_context::sq_full

◆ sq_head

volatile int mg_context::sq_head

◆ sq_tail

volatile int mg_context::sq_tail

◆ ssl_ctx

SSL_CTX * mg_context::ssl_ctx

◆ stop_flag

volatile int mg_context::stop_flag

◆ user_callback

mg_callback_t mg_context::user_callback

◆ user_data

void * mg_context::user_data

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