myMPD
Internal API documentation
Loading...
Searching...
No Matches
http_client_cache.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_HTTP_CLIENT_CACHE_H
12#define MYMPD_HTTP_CLIENT_CACHE_H
13
14#include "src/lib/config_def.h"
15
16struct mg_client_response_t *http_client_cache_check(struct t_config *config, const char *uri);
17struct mg_client_response_t *http_client_cache_read(const char *filepath);
18bool http_client_cache_write(struct t_config *config, const char *uri, struct mg_client_response_t *mg_client_response);
19
20#endif
Central myMPD configuration definitions.
bool http_client_cache_write(struct t_config *config, const char *uri, struct mg_client_response_t *mg_client_response)
Definition http_client_cache.c:106
struct mg_client_response_t * http_client_cache_check(struct t_config *config, const char *uri)
Definition http_client_cache.c:32
struct mg_client_response_t * http_client_cache_read(const char *filepath)
Definition http_client_cache.c:58
Definition http_client.h:33
Definition config_def.h:22