Merge "Fix NULL deference" into tizen
[platform/core/uifw/tts.git] / client / tts_client.h
index c9e1755..6d68d23 100644 (file)
@@ -1,5 +1,5 @@
 /*
-*  Copyright (c) 2011-2014 Samsung Electronics Co., Ltd All Rights Reserved 
+*  Copyright (c) 2011-2016 Samsung Electronics Co., Ltd All Rights Reserved 
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  limitations under the License.
 */
 
+
 #ifndef __TTS_CLIENT_H_
 #define __TTS_CLIENT_H_
 
+#include <Ecore.h>
+
 #include "tts.h"
 #include "tts_config_mgr.h"
 #include "tts_main.h"
@@ -55,7 +57,15 @@ typedef struct {
        /* callback data */
        int             utt_id;
        int             reason;
-}tts_client_s;
+       char*           err_msg;
+
+       /* connection */
+       Ecore_Timer*    conn_timer;
+
+       /* options */
+       char*           credential;
+       bool            credential_needed;
+} tts_client_s;
 
 int tts_client_new(tts_h* tts);