summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorhyunho kang <hhstark.kang@samsung.com>2015-12-11 16:13:15 +0900
committerHyunho Kang <hhstark.kang@samsung.com>2016-01-03 16:40:29 -0800
commitd2e1ea21f9faf51ca35ce4bb606deadbe7ab386a (patch)
tree7fc0b7d312f0c5360c49a630cb5bff9b2fdb5efc /include
parent790035cf2e93231f2b709d397a82d90f648edede (diff)
downloadlibrua-d2e1ea21f9faf51ca35ce4bb606deadbe7ab386a.tar.gz
librua-d2e1ea21f9faf51ca35ce4bb606deadbe7ab386a.tar.bz2
librua-d2e1ea21f9faf51ca35ce4bb606deadbe7ab386a.zip
- Access rua db indirectly using aul_svc_delete_rua_history. Change-Id: I5f347ee01b477135d40304b64009e7d78436d6e1 Signed-off-by: hyunho kang <hhstark.kang@samsung.com>
Diffstat (limited to 'include')
-rwxr-xr-xinclude/rua.h11
1 files changed, 11 insertions, 0 deletions
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 <sqlite3.h>
+#include <bundle.h>
#include <time.h>
#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