myMPD
Internal API documentation
|
HTTP lua script handler. More...
Go to the source code of this file.
Functions | |
bool | script_execute_http (struct mg_connection *nc, struct mg_http_message *hm, struct t_config *config) |
bool | script_execute_bgimage (struct mg_connection *nc, struct mg_http_message *hm) |
HTTP lua script handler.
bool script_execute_bgimage | ( | struct mg_connection * | nc, |
struct mg_http_message * | hm | ||
) |
Emits the MYMPD_BGIMAGE trigger.
nc | mongoose connection |
hm | http message |
bool script_execute_http | ( | struct mg_connection * | nc, |
struct mg_http_message * | hm, | ||
struct t_config * | config | ||
) |
Executes the script as request handler.
nc | mongoose connection |
hm | http message |
config | Pointer to config |