From ea7cd94f7aeb177618db3907a6c86b7252e018f0 Mon Sep 17 00:00:00 2001 From: quou Date: Sat, 1 Jun 2024 12:19:16 +1000 Subject: Initial commit. --- library.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 library.h (limited to 'library.h') diff --git a/library.h b/library.h new file mode 100644 index 0000000..7c9e000 --- /dev/null +++ b/library.h @@ -0,0 +1,19 @@ +#ifndef library_h +#define library_h + +#include "config.h" + +typedef struct { + char name[song_name_max]; + char file[song_filename_max]; +} Song; + +typedef struct { + Song songs[max_songs]; + int song_count; +} Library; + +void init_library(Library* l); +void build_library(Library* l, const char* path); + +#endif -- cgit v1.2.3-54-g00ecf