projects
/
platform
/
core
/
appfw
/
librua.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Resolve remove history APIs permission problem
[platform/core/appfw/librua.git]
/
include
/
rua.h
diff --git
a/include/rua.h
b/include/rua.h
index
2bd8f51
..
710d471
100755
(executable)
--- a/
include/rua.h
+++ b/
include/rua.h
@@
-31,6
+31,7
@@
#define __RUA_H__
#include <sqlite3.h>
#define __RUA_H__
#include <sqlite3.h>
+#include <bundle.h>
#include <time.h>
#ifndef API
#include <time.h>
#ifndef API
@@
-67,6
+68,16
@@
struct rua_rec {
time_t launch_time; /**< application launching time */
};
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
/**
* @brief Clear history
* @return 0 on success, otherwise a nagative error value