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

pthread_cond_t mg_context::cond
char * mg_context::config
struct socket * mg_context::listening_sockets
pthread_mutex_t mg_context::mutex
volatile int mg_context::num_threads
struct socket mg_context::queue
pthread_cond_t mg_context::sq_empty
pthread_cond_t mg_context::sq_full
volatile int mg_context::sq_head
volatile int mg_context::sq_tail
SSL_CTX * mg_context::ssl_ctx
volatile int mg_context::stop_flag
mg_callback_t mg_context::user_callback
void * mg_context::user_data

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