To wrap this using liblivebox package.
Each SLP livebox can request to update a box.
Change-Id: I552b4045dc95faa9c3fd2b8162c90a0cc8f04870
* Exported API for each liveboxes
*/
extern const char *livebox_find_pkgname(const char *filename);
+extern int livebox_request_update_by_id(const char *filename);
/* End of a file */
Name: com.samsung.data-provider-slave
Summary: Slave data provider
-Version: 0.8.18
+Version: 0.8.19
Release: 1
Group: main/app
License: Flora License
return NULL;
}
+int livebox_request_update_by_id(const char *filename)
+{
+ Eina_List *l;
+ struct item *item;
+
+ EINA_LIST_FOREACH(s_info.item_list, l, item) {
+ if (!strcmp(item->inst->id, filename)) {
+ return append_pending_list(item);
+ }
+ }
+
+ return -ENOENT;
+}
+
HAPI int lb_open_pd(const char *pkgname)
{
Eina_List *l;