summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorhyunho <hhstark.kang@samsung.com>2019-06-11 19:22:29 +0900
committerhyunho <hhstark.kang@samsung.com>2019-06-12 11:41:59 +0900
commit94b405cad4e2f5678bbd85bc956fce6874cbb087 (patch)
treec5b95c3ad249e4118394fb7e8c818e9ebfa70ac9 /include
parent2e43df2ca1fb71b58c5f502c4831acda0f191081 (diff)
downloadlibrua-94b405cad4e2f5678bbd85bc956fce6874cbb087.tar.gz
librua-94b405cad4e2f5678bbd85bc956fce6874cbb087.tar.bz2
librua-94b405cad4e2f5678bbd85bc956fce6874cbb087.zip
Add component ID
Change-Id: I9b7c31c8bd518cfe7ada5af1703e9dea6ceeb9c4 Signed-off-by: hyunho <hhstark.kang@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/rua.h1
-rw-r--r--include/rua_internal.h9
2 files changed, 6 insertions, 4 deletions
diff --git a/include/rua.h b/include/rua.h
index c310be5..19008b1 100644
--- a/include/rua.h
+++ b/include/rua.h
@@ -61,6 +61,7 @@ struct rua_rec {
char *icon; /**< Icon path */
char *uri; /**< URI */
char *image; /**< Image path */
+ char *comp_id; /**< Component ID */
};
/**
diff --git a/include/rua_internal.h b/include/rua_internal.h
index 5caace6..a9c7c22 100644
--- a/include/rua_internal.h
+++ b/include/rua_internal.h
@@ -56,14 +56,15 @@ int rua_usr_db_add_history(struct rua_rec *rec, uid_t uid);
/**
* @brief Update the image of the application
* @param[in] pkg_name The application ID
+ * @param[in] comp_id The component ID
* @param[in] instance_id The instance ID
* @param[in] image The image of the application
* @return 0 on success, otherwise a nagative error value
*/
-int rua_db_update_image(const char *pkg_name, const char *instance_id,
- const char *image);
-int rua_usr_db_update_image(const char *pkg_name, const char *instance_id,
- const char *image, uid_t uid);
+int rua_db_update_image(const char *pkg_name, const char *comp_id,
+ const char *instance_id, const char *image);
+int rua_usr_db_update_image(const char *pkg_name, const char *comp_id,
+ const char *instance_id, const char *image, uid_t uid);
#ifdef __cplusplus
}