C-style exports for the DLL