Fix to handle the null private data
[platform/core/uifw/stt.git] / server / sttd_engine_agent.h
index 4447110..8217b3e 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
@@ -24,7 +24,7 @@ extern "C" {
 #endif
 
 /*
-* Constants & Structures       
+* Constants & Structures
 */
 
 #define        ENGINE_PATH_SIZE 256
@@ -73,6 +73,10 @@ int sttd_engine_agent_supported_langs(int uid, GSList** lang_list);
 
 int sttd_engine_agent_get_default_lang(int uid, char** lang);
 
+int sttd_engine_agent_set_private_data(int uid, const char* key, const char* data);
+
+int sttd_engine_agent_get_private_data(int uid, const char* key, char** data);
+
 int sttd_engine_agent_get_option_supported(int uid, bool* silence);
 
 int sttd_engine_agent_is_credential_needed(int uid, bool* credential);