myMPD
Internal API documentation
Loading...
Searching...
No Matches
idle.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-3.0-or-later
3 myMPD (c) 2018-2026 Juergen Mang <mail@jcgames.de>
4 https://github.com/jcorporation/mympd
5*/
6
10
11#ifndef MYMPD_MPD_CLIENT_IDLE_H
12#define MYMPD_MPD_CLIENT_IDLE_H
13
14#include "src/lib/api.h"
16
17bool mympd_client_idle(struct t_mympd_state *mympd_state, struct t_work_request *request);
18void mympd_client_scrobble(struct t_mympd_state *mympd_state, struct t_partition_state *partition_state);
19#endif
void mympd_client_scrobble(struct t_mympd_state *mympd_state, struct t_partition_state *partition_state)
Definition idle.c:97
bool mympd_client_idle(struct t_mympd_state *mympd_state, struct t_work_request *request)
Definition idle.c:56
myMPD API handling
Central myMPD state for the mympd_api thread.
Definition mympd_state.h:31
Definition partition_state.h:27
Definition api.h:313