From 91243bec7ff3a97da4dcea32c44016cd55ece301 Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Mon, 2 Jul 2018 13:57:58 +0900 Subject: [PATCH] Modify the map agent for gtest Change-Id: I0139cdb9dd5a92234a39398a7a612adb11b33657 Signed-off-by: DoHyun Pyun --- map-agent/bluetooth_map_agent.c | 2 +- map-agent/bluetooth_map_agent.h | 2 +- map-agent/bluetooth_map_sms.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/map-agent/bluetooth_map_agent.c b/map-agent/bluetooth_map_agent.c index df0a86f..3560a22 100644 --- a/map-agent/bluetooth_map_agent.c +++ b/map-agent/bluetooth_map_agent.c @@ -816,7 +816,7 @@ static int __bt_sms_encode_time(gchar *addr_field, time_t *tm) return index; } -gchar *__bt_get_sms_pdu_from_msg_data(gchar *number, +gchar *_bt_get_sms_pdu_from_msg_data(gchar *number, char *msg, time_t tm, int *msg_pdu_len) { diff --git a/map-agent/bluetooth_map_agent.h b/map-agent/bluetooth_map_agent.h index 014f12c..9e5e057 100644 --- a/map-agent/bluetooth_map_agent.h +++ b/map-agent/bluetooth_map_agent.h @@ -79,7 +79,7 @@ void _get_msg_timestamp(time_t *ltime, char *timestamp); guint64 _bt_add_id(int uid, int msg_type); guint64 _bt_validate_uid(int uid, int msg_type); gboolean is_mns_connected(void); -gchar *__bt_get_sms_pdu_from_msg_data(gchar *number, char *msg, time_t tm, +gchar *_bt_get_sms_pdu_from_msg_data(gchar *number, char *msg, time_t tm, int *msg_pdu_len); gboolean _bt_verify_read_status(message_info_t *msg_info, guint8 read_status); gboolean _bt_verify_sender(message_info_t *msg_info, char *sender); diff --git a/map-agent/bluetooth_map_sms.c b/map-agent/bluetooth_map_sms.c index cb8670b..3e918e0 100644 --- a/map-agent/bluetooth_map_sms.c +++ b/map-agent/bluetooth_map_sms.c @@ -728,7 +728,7 @@ static char *__bt_prepare_msg_bmseg(msg_struct_t msg_info, gboolean attach, msg_body, BT_MAP_MSG_BODY_MAX); if (ret == MSG_SUCCESS) { int msg_pdu_len = 0; - msg_pdu = __bt_get_sms_pdu_from_msg_data(addr_value, + msg_pdu = _bt_get_sms_pdu_from_msg_data(addr_value, msg_body, dptime, &msg_pdu_len); if (msg_pdu) { -- 2.7.4