myMPD
Internal API documentation
Loading...
Searching...
No Matches
webserver.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-3.0-or-later
3 myMPD (c) 2018-2025 Juergen Mang <mail@jcgames.de>
4 https://github.com/jcorporation/mympd
5*/
6
11#ifndef MYMPD_WEB_SERVER_H
12#define MYMPD_WEB_SERVER_H
13
14#include "src/lib/config_def.h"
16
17#include <stdbool.h>
18
19void *webserver_loop(void *arg_mgr);
20bool webserver_init(struct mg_mgr *mgr, struct t_config *config, struct t_mg_user_data *mg_user_data);
21bool webserver_read_certs(struct t_mg_user_data *mg_user_data, struct t_config *config);
22void *webserver_free(struct mg_mgr *mgr);
23#endif
Centtral myMPD configuration definitions.
Definition config_def.h:40
Definition mg_user_data.h:24
Webserver utility functions.
bool webserver_init(struct mg_mgr *mgr, struct t_config *config, struct t_mg_user_data *mg_user_data)
Definition webserver.c:69
void * webserver_loop(void *arg_mgr)
Definition webserver.c:196
void * webserver_free(struct mg_mgr *mgr)
Definition webserver.c:183
bool webserver_read_certs(struct t_mg_user_data *mg_user_data, struct t_config *config)
Definition webserver.c:152