|
myMPD
Internal API documentation
|
Webserver implementation. More...


Go to the source code of this file.
Functions | |
| void * | webserver_loop (void *arg_mgr) |
| struct t_mg_user_data * | webserver_init_mg_user_data (struct t_config *config) |
| struct mg_mgr * | webserver_init_mgr (struct t_config *config, struct t_mg_user_data *mg_user_data) |
| void | webserver_free (struct mg_mgr *mgr) |
Webserver implementation.
| void webserver_free | ( | struct mg_mgr * | mgr | ) |
Frees the mongoose mgr
| mgr | mongoose mgr to free |
| struct t_mg_user_data * webserver_init_mg_user_data | ( | struct t_config * | config | ) |
Mallocs and initializes the mg_user_data struct for the webserver
| config | pointer to myMPD config |
| struct mg_mgr * webserver_init_mgr | ( | struct t_config * | config, |
| struct t_mg_user_data * | mg_user_data | ||
| ) |
Public functions Initializes the webserver
| config | pointer to myMPD config |
| mg_user_data | already allocated t_mg_user_data to populate |
| void * webserver_loop | ( | void * | arg_mgr | ) |
Main function for the webserver thread
| arg_mgr | void pointer to mongoose mgr |