#include #include // Callback does not own any of the data and must not free it. typedef SDL_EnumerationResult(Osu_ReadBeatmapCSVCallback)(char* section, char** values, size_t valuesLen, void* userdata); // Callback does not own any of the data and must not free it. typedef SDL_EnumerationResult(Osu_ReadBeatmapKeyValueCallback)(char* section, char* key, char* value, void* userdata); bool Osu_EnumerateBeatmapData(const char* data, Osu_ReadBeatmapKeyValueCallback* keyValueCallback, Osu_ReadBeatmapCSVCallback* csvCallback, void* userdata);