[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] inotify is not enough to detect updated event.
[cause] inotify merges multiple updated event to one event.
[solution] Add new API for call it explictly from the livebox.
[team] HomeTF
[request]
[horizontal_expansion]
Change-Id: I3f446998e83a05b5ee863b7c9fe6ee5257afa0f8
extern int livebox_desc_del_block(struct livebox_desc *handle, int idx);
/*!
+ * \brief Notify the updated content to the provider.
+ * \param[in] id Instance Id
+ * \param[in] is_pd 1 if call for PD or 0(LB).
+ * \return int
+ */
+extern int livebox_content_is_updated(const char *id, int is_pd);
+
+/*!
* \brief Replace '\n' with '<br>'
* \param[in] str Source string
* \return char* allocated string
Name: liblivebox
Summary: Library for the development of a livebox
-Version: 0.3.3
+Version: 0.4.0
Release: 1
Group: HomeTF/Livebox
License: Flora License
*/
extern const char *livebox_find_pkgname(const char *filename);
extern int livebox_request_update_by_id(const char *uri);
+extern int livebox_trigger_update_monitor(const char *id, int is_pd);
struct block {
unsigned int idx;
return LB_STATUS_SUCCESS;
}
+PUBLIC int livebox_content_is_updated(const char *filename, int is_pd)
+{
+ return livebox_trigger_update_monitor(filename, is_pd);
+}
+
/* End of a file */