make targets "loadable"

This commit is contained in:
Philippe G
2022-01-20 17:34:21 -08:00
parent 1b74c82c72
commit 47774c98f0
10 changed files with 68 additions and 28 deletions

View File

@@ -0,0 +1,22 @@
/*
* Squeezelite for esp32
*
* (c) Sebastien 2019
* Philippe G. 2019, philippe_44@outlook.com
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*
*/
#pragma once
#include "stddef.h"
#include "stdbool.h"
struct target_s {
char *model;
bool (*init)(void);
};
extern const struct target_s target_muse;