Add the base code for gtest verification
[platform/core/connectivity/bluetooth-agent.git] / hf-agent / bluetooth-hf-agent.h
index da34405..a86a7f1 100644 (file)
 #ifndef __DEF_BT_HF_AGENT_H_
 #define __DEF_BT_HF_AGENT_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #undef LOG_TAG
 #define LOG_TAG "BLUETOOTH_HF_AGENT"
 
@@ -339,4 +343,7 @@ struct sockaddr_sco {
        bdaddr_t        sco_bdaddr;
 };
 
+#ifdef __cplusplus
+}
+#endif
 #endif /* __DEF_BT_HF_AGENT_H_ */