myMPD
Internal API documentation
Loading...
Searching...
No Matches
folderart.h File Reference

Folderart functions. More...

#include "dist/mongoose/mongoose.h"
#include "src/webserver/utility.h"
#include <stdbool.h>
Include dependency graph for folderart.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool request_handler_folderart (struct mg_connection *nc, struct mg_http_message *hm, struct t_mg_user_data *mg_user_data)
 

Detailed Description

Folderart functions.

Function Documentation

◆ request_handler_folderart()

bool request_handler_folderart ( struct mg_connection *  nc,
struct mg_http_message *  hm,
struct t_mg_user_data mg_user_data 
)

Serves the first image in a folder

Parameters
ncmongoose connection
hmhttp message
mg_user_datapointer to mongoose configuration
Returns
true if an image was found, else false