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);
21struct mg_mgr *webserver_init_mgr(struct t_config *config, struct t_mg_user_data *mg_user_data);
22void webserver_free(struct mg_mgr *mgr);
23
24#endif
Central myMPD configuration definitions.
Webserver utility functions.
Definition config_def.h:22
Definition mg_user_data.h:38
struct t_config * config
Pointer to myMPD configuration.
Definition mg_user_data.h:39
struct t_mg_user_data * webserver_init_mg_user_data(struct t_config *config)
Definition mg_user_data.c:37
struct mg_mgr * webserver_init_mgr(struct t_config *config, struct t_mg_user_data *mg_user_data)
Definition webserver.c:59
void * webserver_loop(void *arg_mgr)
Definition webserver.c:137
void webserver_free(struct mg_mgr *mgr)
Definition webserver.c:123