is there a requirement to have a separate header file for the data type? could this not be exported in the time_api.h file