ocarina/include/core/core.h

24 lines
532 B
C

/*
* Copyright 2014 (c) Anna Schumaker.
*/
#ifndef OCARINA_CORE_CORE_H
#define OCARINA_CORE_CORE_H
#include <stdbool.h>
struct core_init_data {
struct playlist_callbacks *playlist_cb;
struct audio_ops *audio_ops;
#ifdef CONFIG_TESTING
bool idle_async;
#endif /* CONFIG_TESTING */
};
/* Called to initialize all core Ocarina components. */
void core_init(int *, char ***, struct core_init_data *);
/* Called to deinitialize all core Ocarina componentns. */
void core_deinit();
#endif /* OCARINA_CORE_CORE_H */