Change-Id: I29a36c95c342881563cdb547b16b81da7539d19e
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 */