Fix wrong return value of model name
[platform/core/connectivity/bluetooth-agent.git] / map-agent / bluetooth_map_agent.h
index fcaad44..9e5e057 100644 (file)
 #ifndef __DEF_BT_PB_AGENT_H_
 #define __DEF_BT_PB_AGENT_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include <unistd.h>
 #include <dlog.h>
 #include <stdio.h>
@@ -75,11 +79,15 @@ 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);
 gboolean _bt_verify_receiver(message_info_t *msg_info, char *receiver);
 gboolean _bt_verify_time(message_info_t *msg_info, map_msg_filter_t *filter);
 gboolean _bt_filter_priority(message_info_t *msg_info, guint8 priority);
+
+#ifdef __cplusplus
+}
+#endif
 #endif /* __DEF_BT_AGENT_H_ */