Tasmota/lib/libesp32_epdiy/examples/mpd_status/main/mpd_info.h
2021-04-03 17:41:35 +02:00

16 lines
318 B
C
Executable File

#pragma once
#include "sodium.h"
#include "mpd/client.h"
typedef struct {
char hash[crypto_generichash_BYTES];
struct mpd_status* status;
struct mpd_song * current_song;
} mpd_playback_info_t;
void free_playback_info(mpd_playback_info_t*);
mpd_playback_info_t *fetch_playback_info(struct mpd_connection *);