* @brief Return values of dynamicbox programming interfaces: Operation is successfully done.
* @since_tizen 2.3
*/
-extern const int DONE;
+extern const int DBOX_DONE;
/**
* @internal
* @brief Return values of dynamicbox programming interfaces: Contents are updated.
* @since_tizen 2.3
*/
-extern const int OUTPUT_UPDATED;
+extern const int DBOX_OUTPUT_UPDATED;
/**
* @internal
* @brief Return values of dynamicbox programming interfaces: Need to call the dynamicbox_need_to_update and dynamicbox_update_content.
* @since_tizen 2.3
*/
-extern const int NEED_TO_SCHEDULE;
+extern const int DBOX_NEED_TO_SCHEDULE;
/**
* @internal
* @brief Return values of dynamicbox programming interfaces: Need to do force update.
* @since_tizen 2.3
*/
-extern const int FORCE_TO_SCHEDULE;
+extern const int DBOX_FORCE_TO_SCHEDULE;
/**
* @internal
* @brief Return values of dynamicbox programming interfaces: Need to create a new instance.
* @since_tizen 2.3
*/
-extern const int NEED_TO_CREATE;
+extern const int DBOX_NEED_TO_CREATE;
/**
* @internal
* @brief Return values of dynamicbox programming interfaces: Need to destroy this instance.
* @since_tizen 2.3
*/
-extern const int NEED_TO_DESTROY;
+extern const int DBOX_NEED_TO_DESTROY;
/**
* @internal
* @brief Return values of dynamicbox programming interfaces: Need to update.
* @since_tizen 2.3
*/
-extern const int NEED_TO_UPDATE;
+extern const int DBOX_NEED_TO_UPDATE;
/**
* @internal
* @brief Return values of dynamicbox programming interfaces: Using network.
* @since_tizen 2.3
*/
-extern const int USE_NET;
+extern const int DBOX_USE_NET;
/**
* @internal
if (s_info.is_slave < 0) {
/* Must to be checked the slave function first. */
- s_info.updated.slave.dbox = dlsym(RTLD_DEFAULT, "livebox_send_updated");
- s_info.updated.slave.gbar = dlsym(RTLD_DEFAULT, "livebox_send_desc_updated");
+ s_info.updated.slave.dbox = dlsym(RTLD_DEFAULT, "dynamicbox_send_updated");
+ s_info.updated.slave.gbar = dlsym(RTLD_DEFAULT, "dynamicbox_send_desc_updated");
if (s_info.updated.slave.dbox && s_info.updated.slave.gbar) {
s_info.is_slave = 1;
DbgPrint("Slave detected\n");
if (s_info.is_slave < 0) {
/* Must to be checked the slave function first. */
- s_info.updated.slave.dbox = dlsym(RTLD_DEFAULT, "livebox_send_updated");
- s_info.updated.slave.gbar = dlsym(RTLD_DEFAULT, "livebox_send_desc_updated");
+ s_info.updated.slave.dbox = dlsym(RTLD_DEFAULT, "dynamicbox_send_updated");
+ s_info.updated.slave.gbar = dlsym(RTLD_DEFAULT, "dynamicbox_send_desc_updated");
if (s_info.updated.slave.dbox && s_info.updated.slave.gbar) {
s_info.is_slave = 1;
DbgPrint("Slave detected\n");
}
if (!s_info.find_pkgname) {
- s_info.find_pkgname = dlsym(RTLD_DEFAULT, "livebox_find_pkgname");
+ s_info.find_pkgname = dlsym(RTLD_DEFAULT, "dynamicbox_find_pkgname");
if (!s_info.find_pkgname) {
- ErrPrint("Failed to find a \"livebox_find_pkgname\"\n");
+ ErrPrint("Failed to find a \"dynamicbox_find_pkgname\"\n");
free(user_data);
free(uri);
return NULL;
}
if (!s_info.request_update_by_id) {
- s_info.request_update_by_id = dlsym(RTLD_DEFAULT, "livebox_request_update_by_id");
+ s_info.request_update_by_id = dlsym(RTLD_DEFAULT, "dynamicbox_request_update_by_id");
if (!s_info.request_update_by_id) {
- ErrPrint("\"livebox_request_update_by_id\" is not exists\n");
+ ErrPrint("\"dynamicbox_request_update_by_id\" is not exists\n");
free(uri);
return DBOX_STATUS_ERROR_FAULT;
}
PUBLIC int dynamicbox_conf_auto_align(void)
{
if (!s_info.conf) {
- struct conf *(*livebox_conf_get_conf)(void);
- livebox_conf_get_conf = dlsym(RTLD_DEFAULT, "livebox_conf_get_conf");
- if (!livebox_conf_get_conf) {
+ struct conf *(*dynamicbox_conf_get_conf)(void);
+ dynamicbox_conf_get_conf = dlsym(RTLD_DEFAULT, "dynamicbox_conf_get_conf");
+ if (!dynamicbox_conf_get_conf) {
ErrPrint("g_conf is not found\n");
return 1;
}
- s_info.conf = livebox_conf_get_conf();
+ s_info.conf = dynamicbox_conf_get_conf();
if (!s_info.conf) {
ErrPrint("g_conf is not found\n");
return 1;
PUBLIC int dynamicbox_conf_premultiplied_alpha(void)
{
if (!s_info.conf) {
- struct conf *(*livebox_conf_get_conf)(void);
- livebox_conf_get_conf = dlsym(RTLD_DEFAULT, "livebox_conf_get_conf");
- if (!livebox_conf_get_conf) {
+ struct conf *(*dynamicbox_conf_get_conf)(void);
+ dynamicbox_conf_get_conf = dlsym(RTLD_DEFAULT, "dynamicbox_conf_get_conf");
+ if (!dynamicbox_conf_get_conf) {
ErrPrint("g_conf is not found\n");
return 1;
}
- s_info.conf = livebox_conf_get_conf();
+ s_info.conf = dynamicbox_conf_get_conf();
if (!s_info.conf) {
ErrPrint("g_conf is not found\n");
return 1;
PUBLIC int dynamicbox_content_is_updated(const char *filename, int is_gbar)
{
if (!s_info.trigger_update_monitor) {
- s_info.trigger_update_monitor = dlsym(RTLD_DEFAULT, "livebox_trigger_update_monitor");
+ s_info.trigger_update_monitor = dlsym(RTLD_DEFAULT, "dynamicbox_trigger_update_monitor");
if (!s_info.trigger_update_monitor) {
ErrPrint("Trigger update monitor function is not exists\n");
return DBOX_STATUS_ERROR_FAULT;
}
if (!s_info.find_pkgname) {
- s_info.find_pkgname = dlsym(RTLD_DEFAULT, "livebox_find_pkgname");
+ s_info.find_pkgname = dlsym(RTLD_DEFAULT, "dynamicbox_find_pkgname");
if (!s_info.find_pkgname) {
- ErrPrint("Failed to find a \"livebox_find_pkgname\"\n");
+ ErrPrint("Failed to find a \"dynamicbox_find_pkgname\"\n");
free(uri);
return DBOX_STATUS_ERROR_FAULT;
}
free(uri);
if (!s_info.update_extra_info) {
- s_info.update_extra_info = dlsym(RTLD_DEFAULT, "livebox_update_extra_info");
+ s_info.update_extra_info = dlsym(RTLD_DEFAULT, "dynamicbox_update_extra_info");
if (!s_info.update_extra_info) {
- ErrPrint("Failed to find a \"livebox_update_extra_info\"\n");
+ ErrPrint("Failed to find a \"dynamicbox_update_extra_info\"\n");
return DBOX_STATUS_ERROR_INVALID_PARAMETER;
}
}