extern struct livebox *livebox_add(const char *pkgname, const char *content, const char *cluster, const char *category, double period, int type, ret_cb_t cb, void *data);
/**
- * @brief Deletes a livebox (deprecated).
- * @remarks If you call this with an uninitialized handle, the return callback will be called synchronously.
- * So before returning from this function, the return callback will be called first.
- * @param[in] handler Handler of a livebox instance
- * @param[in] cb Return callback
- * @param[in] data User data for return callback
- * @privlevel platform
- * @privilege %http://developer.samsung.com/privilege/core/dynamicbox.viewer
- * @return int
- * @retval #LB_STATUS_ERROR_INVALID Invalid argument
- * @retval #LB_STATUS_ERROR_BUSY Already in process
- * @retval #LB_STATUS_ERROR_FAULT Failed to create a request packet
- * @retval #LB_STATUS_SUCCESS Successfully sent, return callack will be called
- * @see ret_cb_t
- */
-extern int livebox_del(struct livebox *handler, ret_cb_t cb, void *data);
-
-/**
* @brief Deletes a livebox (will replace livebox_del).
* @remarks If you call this with an uninitialized handle, the return callback will be called synchronously.
* So before returning from this function, the return callback will be called first.
* @retval #LB_STATUS_SUCCESS Successfully sent, return callack will be called
* @see ret_cb_t
*/
-extern int livebox_del_NEW(struct livebox *handler, int type, ret_cb_t cb, void *data);
+extern int livebox_del(struct livebox *handler, int type, ret_cb_t cb, void *data);
/**
* @brief Sets a livebox events callback.
}
}
-EAPI int livebox_del_NEW(struct livebox *handler, int type, ret_cb_t cb, void *data)
+EAPI int livebox_del(struct livebox *handler, int type, ret_cb_t cb, void *data)
{
struct cb_info *cbinfo;
return LB_STATUS_SUCCESS;
}
-EAPI int livebox_del(struct livebox *handler, ret_cb_t cb, void *data)
-{
- return livebox_del_NEW(handler, LB_DELETE_PERMANENTLY, cb, data);
-}
-
EAPI int livebox_set_fault_handler(int (*cb)(enum livebox_fault_type, const char *, const char *, const char *, void *), void *data)
{
struct fault_info *info;