#pragma once // Must be called at least once in the application, and those calls must not be // simultaneous (because this function is not thread-safe itself). void mime_init(); // Returns pointer to internal buffer, don't free // This function is thread-safe. const char* mime_detect(const char *path);