Modify the map agent for gtest 55/183055/1
authorDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 2 Jul 2018 04:57:58 +0000 (13:57 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 2 Jul 2018 04:59:32 +0000 (13:59 +0900)
Change-Id: I0139cdb9dd5a92234a39398a7a612adb11b33657
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
map-agent/bluetooth_map_agent.c
map-agent/bluetooth_map_agent.h
map-agent/bluetooth_map_sms.c

index df0a86f..3560a22 100644 (file)
@@ -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)
 {
index 014f12c..9e5e057 100644 (file)
@@ -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);
index cb8670b..3e918e0 100644 (file)
@@ -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) {