From ccf89b08030eb5a4563433cdd0b79a6e77459479 Mon Sep 17 00:00:00 2001 From: Minje Ahn Date: Wed, 1 Apr 2020 12:17:35 +0900 Subject: [PATCH] Change function name Change-Id: I1d83a7faf9c02d50b76869a28efbc0dfb43fac06 Signed-off-by: Minje Ahn --- src/common/media-svc-noti.c | 14 +++++++------- src/include/common/media-svc-noti.h | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/common/media-svc-noti.c b/src/common/media-svc-noti.c index aa2dac1..fa56afc 100755 --- a/src/common/media-svc-noti.c +++ b/src/common/media-svc-noti.c @@ -33,11 +33,11 @@ static void __media_svc_publish_noti_by_item(gpointer data, gpointer user_data) media_svc_noti_item *item = (media_svc_noti_item *)data; if (item && item->path) { - ret = media_db_update_send_internal(item->pid, item->update_item, item->update_type, item->path, item->media_uuid, item->media_type, item->mime_type); + ret = media_db_update_send(item->pid, item->update_item, item->update_type, item->path, item->media_uuid, item->media_type, item->mime_type); if (ret != MS_MEDIA_ERR_NONE) { - media_svc_sec_error("media_db_update_send_internal failed : %d [%s]", ret, item->path); + media_svc_sec_error("media_db_update_send failed : %d [%s]", ret, item->path); } else { - media_svc_debug("media_db_update_send_internal success"); + media_svc_debug("media_db_update_send success"); } } else { media_svc_debug("invalid path"); @@ -59,10 +59,10 @@ int _media_svc_publish_noti(media_item_update_type_e update_type, const char *pa int ret = MS_MEDIA_ERR_NONE; media_svc_retvm_if(!STRING_VALID(path), MS_MEDIA_ERR_INVALID_PARAMETER, "Invalid path"); - ret = media_db_update_send_internal(getpid(), MS_MEDIA_ITEM_FILE, update_type, (char *)path, (char *)uuid, media_type, (char *)mime_type); + ret = media_db_update_send(getpid(), MS_MEDIA_ITEM_FILE, update_type, path, uuid, media_type, mime_type); media_svc_retvm_if(ret != MS_MEDIA_ERR_NONE, ret, "Send noti failed[%d][%s]", ret, path); - media_svc_debug("Send noti [%s]", path); + media_svc_sec_debug("Send noti [%s]", path); return ret; } @@ -72,10 +72,10 @@ int _media_svc_publish_dir_noti(media_item_update_type_e update_type, const char int ret = MS_MEDIA_ERR_NONE; media_svc_retvm_if(!STRING_VALID(path), MS_MEDIA_ERR_INVALID_PARAMETER, "Invalid path"); - ret = media_db_update_send_internal(pid, MS_MEDIA_ITEM_DIRECTORY, update_type, (char *)path, (char *)uuid, MS_MEDIA_UNKNOWN, NULL); + ret = media_db_update_send(pid, MS_MEDIA_ITEM_DIRECTORY, update_type, path, uuid, MS_MEDIA_UNKNOWN, NULL); media_svc_retvm_if(ret != MS_MEDIA_ERR_NONE, ret, "Send dir noti failed[%d][%s]", ret, path); - media_svc_debug("Send dir noti [%s]", path); + media_svc_sec_debug("Send dir noti [%s]", path); return ret; } diff --git a/src/include/common/media-svc-noti.h b/src/include/common/media-svc-noti.h index 1351b47..f6410b7 100755 --- a/src/include/common/media-svc-noti.h +++ b/src/include/common/media-svc-noti.h @@ -22,7 +22,7 @@ #ifndef _MEDIA_SVC_NOTI_H_ #define _MEDIA_SVC_NOTI_H_ -#include +#include #include "media-svc-util.h" typedef struct _media_svc_noti_item media_svc_noti_item; -- 2.7.4