Github User Fetcher 1.0.0
C Application with Server and GUI
|
Data Fields | |
int | context_type |
struct socket * | listening_sockets |
struct mg_pollfd * | listening_socket_fds |
unsigned int | num_listening_sockets |
struct mg_connection * | worker_connections |
stop_flag_t | stop_flag |
pthread_mutex_t | thread_mutex |
pthread_t | masterthreadid |
unsigned int | cfg_worker_threads |
pthread_t * | worker_threadids |
unsigned long | starter_thread_idx |
struct socket * | squeue |
volatile int | sq_head |
volatile int | sq_tail |
pthread_cond_t | sq_full |
pthread_cond_t | sq_empty |
volatile int | sq_blocked |
int | sq_size |
unsigned int | max_request_size |
struct twebdav_lock | webdav_lock [NUM_WEBDAV_LOCKS] |
char * | systemName |
time_t | start_time |
pthread_mutex_t | nonce_mutex |
struct mg_callbacks | callbacks |
void * | user_data |
struct mg_domain_context | dd |
Definition at line 2345 of file civetweb.c.
struct mg_callbacks mg_context::callbacks |
Definition at line 2432 of file civetweb.c.
Referenced by close_connection(), free_context(), handle_request(), handle_request_stat_log(), init_connection(), init_ssl_ctx(), init_ssl_ctx_impl(), log_access(), master_thread_run(), mg_cry_internal_impl(), mg_send_http_error_impl(), mg_start2(), start_http_server(), and worker_thread_run().
unsigned int mg_context::cfg_worker_threads |
Definition at line 2378 of file civetweb.c.
Referenced by master_thread_run(), mg_close_connection(), mg_connect_websocket_client_impl(), mg_start2(), and worker_thread_run().
int mg_context::context_type |
Definition at line 2354 of file civetweb.c.
Referenced by close_connection(), init_connection(), mg_close_connection(), mg_connect_client_impl(), mg_connect_websocket_client_impl(), mg_lock_context(), mg_start2(), and mg_unlock_context().
struct mg_domain_context mg_context::dd |
Definition at line 2442 of file civetweb.c.
Referenced by accept_new_connection(), check_acl(), fake_connection(), free_context(), init_ssl_ctx(), init_ssl_ctx_impl(), mg_close_connection(), mg_connect_client_impl(), mg_get_option(), mg_set_auth_handler(), mg_set_request_handler(), mg_set_websocket_handler_with_subprotocols(), mg_start2(), mg_start_domain2(), push_all(), set_gpass_option(), set_ports_option(), set_uid_option(), ssl_servername_callback(), switch_domain_context(), and worker_thread_run().
struct mg_pollfd* mg_context::listening_socket_fds |
Definition at line 2357 of file civetweb.c.
Referenced by close_all_listening_sockets(), master_thread_run(), and set_ports_option().
struct socket* mg_context::listening_sockets |
Definition at line 2356 of file civetweb.c.
Referenced by close_all_listening_sockets(), get_first_ssl_listener_index(), handle_request(), master_thread_run(), mg_get_server_ports(), and set_ports_option().
pthread_t mg_context::masterthreadid |
Definition at line 2376 of file civetweb.c.
Referenced by mg_start2(), and mg_stop().
unsigned int mg_context::max_request_size |
Definition at line 2401 of file civetweb.c.
Referenced by handle_cgi_request(), mg_start2(), and worker_thread_run().
pthread_mutex_t mg_context::nonce_mutex |
Definition at line 2427 of file civetweb.c.
Referenced by free_context(), mg_lock_context(), mg_start2(), and mg_unlock_context().
unsigned int mg_context::num_listening_sockets |
Definition at line 2358 of file civetweb.c.
Referenced by close_all_listening_sockets(), master_thread_run(), mg_get_server_ports(), and set_ports_option().
volatile int mg_context::sq_blocked |
Definition at line 2393 of file civetweb.c.
Referenced by mg_get_context_info(), mg_start2(), and produce_socket().
pthread_cond_t mg_context::sq_empty |
Definition at line 2392 of file civetweb.c.
Referenced by consume_socket(), free_context(), mg_start2(), and produce_socket().
pthread_cond_t mg_context::sq_full |
Definition at line 2391 of file civetweb.c.
Referenced by consume_socket(), free_context(), master_thread_run(), mg_start2(), and produce_socket().
volatile int mg_context::sq_head |
Definition at line 2389 of file civetweb.c.
Referenced by consume_socket(), mg_get_context_info(), and produce_socket().
int mg_context::sq_size |
Definition at line 2394 of file civetweb.c.
Referenced by consume_socket(), mg_get_context_info(), mg_start2(), and produce_socket().
volatile int mg_context::sq_tail |
Definition at line 2390 of file civetweb.c.
Referenced by consume_socket(), mg_get_context_info(), and produce_socket().
struct socket* mg_context::squeue |
Definition at line 2387 of file civetweb.c.
Referenced by consume_socket(), free_context(), mg_start2(), and produce_socket().
time_t mg_context::start_time |
Definition at line 2412 of file civetweb.c.
Referenced by master_thread_run(), mg_get_context_info(), parse_auth_header(), and send_authorization_request().
unsigned long mg_context::starter_thread_idx |
Definition at line 2380 of file civetweb.c.
Referenced by mg_start2().
stop_flag_t mg_context::stop_flag |
Definition at line 2373 of file civetweb.c.
Referenced by connect_socket(), consume_socket(), master_thread_run(), mg_close_connection(), mg_start_domain2(), mg_stop(), mg_write(), process_new_connection(), produce_socket(), pull_all(), pull_inner(), push_all(), push_inner(), and read_message().
char* mg_context::systemName |
Definition at line 2411 of file civetweb.c.
Referenced by free_context(), and mg_start2().
pthread_mutex_t mg_context::thread_mutex |
Definition at line 2374 of file civetweb.c.
Referenced by consume_socket(), free_context(), master_thread_run(), mg_start2(), and produce_socket().
void* mg_context::user_data |
Definition at line 2433 of file civetweb.c.
Referenced by free_context(), handle_request(), init_ssl_ctx(), init_ssl_ctx_impl(), mg_connect_websocket_client_impl(), mg_get_user_data(), mg_start2(), and worker_thread_run().
struct twebdav_lock mg_context::webdav_lock[NUM_WEBDAV_LOCKS] |
Definition at line 2408 of file civetweb.c.
Referenced by dav_lock_file(), dav_unlock_file(), and print_props().
struct mg_connection* mg_context::worker_connections |
Definition at line 2360 of file civetweb.c.
Referenced by free_context(), mg_start2(), and worker_thread_run().
pthread_t* mg_context::worker_threadids |
Definition at line 2379 of file civetweb.c.
Referenced by free_context(), master_thread_run(), mg_close_connection(), mg_connect_websocket_client_impl(), and mg_start2().