From d2e1ea21f9faf51ca35ce4bb606deadbe7ab386a Mon Sep 17 00:00:00 2001 From: hyunho kang Date: Fri, 11 Dec 2015 16:13:15 +0900 Subject: Resolve remove history APIs permission problem - Access rua db indirectly using aul_svc_delete_rua_history. Change-Id: I5f347ee01b477135d40304b64009e7d78436d6e1 Signed-off-by: hyunho kang --- include/rua.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include') diff --git a/include/rua.h b/include/rua.h index 2bd8f51..710d471 100755 --- a/include/rua.h +++ b/include/rua.h @@ -31,6 +31,7 @@ #define __RUA_H__ #include +#include #include #ifndef API @@ -67,6 +68,16 @@ struct rua_rec { time_t launch_time; /**< application launching time */ }; + + +/** + * @brief Delete history from DB + * @return 0 on success, otherwise a nagative error value + * @retval 0 on successful + * @retval -1 on failed + */ +API int rua_delete_history_from_db(bundle *b); + /** * @brief Clear history * @return 0 on success, otherwise a nagative error value -- cgit v1.2.3