Fix coverity issues
[platform/core/uifw/stt.git] / client / stt_client.h
index 2a89e2f..b11e164 100644 (file)
@@ -17,6 +17,7 @@
 
 #include <pthread.h>
 #include "stt.h"
+#include "stt_internal.h"
 #include "stt_main.h"
 
 #ifdef __cplusplus
@@ -55,6 +56,9 @@ typedef struct {
        stt_supported_language_cb       supported_lang_cb;
        void*                           supported_lang_user_data;
 
+       stt_speech_status_cb            speech_status_cb;
+       void*                           speech_status_user_data;
+
        char*           current_engine_id;
        char*           credential;
 
@@ -69,6 +73,9 @@ typedef struct {
 
        stt_internal_state_e    internal_state;
 
+       /* speech status */
+       int     speech_status;
+
        /* mutex */
        int             cb_ref_count;
 
@@ -81,6 +88,9 @@ typedef struct {
        /* error data */
        int     reason;
        char*   err_msg;
+
+       /* is this internal? */
+       bool    internal;
 } stt_client_s;