#define ENGINE_PATH_SIZE 256
-typedef void (*result_callback)(stte_result_event_e event, const char* type,
+typedef int (*result_callback)(stte_result_event_e event, const char* type,
const char** data, int data_count, const char* msg, void *user_data);
typedef bool (*result_time_callback)(int index, stte_result_time_event_e event, const char* text,
long start_time, long end_time, void *user_data);
-typedef void (*speech_status_callback)(stte_speech_status_e status, void *user_data);
+typedef int (*speech_status_callback)(stte_speech_status_e status, void *user_data);
-typedef void (*error_callback)(stte_error_e error, const char* msg);
+typedef int (*error_callback)(stte_error_e error, const char* msg);
/*