Fix the build error for hf vendor APIs 93/119293/1
authorDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 16 Mar 2017 08:42:01 +0000 (17:42 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 16 Mar 2017 08:42:01 +0000 (17:42 +0900)
Change-Id: Ifdb95df3e8a1bb1d05977fc68a9272177c8e98fe
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
include/bluetooth_private.h
include/wearable/bluetooth_type_internal.h

index c7781c79461aa8e30da1a5a9900a5576a71f094b..6906c2c9e3d15723516a200d398d5127f7992534 100644 (file)
@@ -717,19 +717,6 @@ typedef enum {
  */
 typedef void (*bt_hf_remote_device_state_changed_cb) (bt_hf_remote_device_state_e state, int value, void *user_data);
 
-/**
- * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
- * @brief  Called when a vendor command event happened from Hands-Free.
- * @since_tizen 2.3.2
- * @remarks The @a meesage of cmd must be released with free() by you.
- *
- * @param[in] cmd  The information of vendor command
- * @param[in] user_data The user data passed from the callback registration function
- * @see bt_hf_set_vendor_dep_cmd_event_cb()
- * @see bt_hf_unset_vendor_dep_cmd_event_cb()
- */
-typedef void (*bt_hf_vendor_dep_cmd_event_cb) (bt_hf_vendor_dep_at_cmd_s cmd, void *user_data);
-
 /**
  * @internal
  * @brief Since the HF call back and event proxy call backs have different prototype it is wrapper function.
index f7a3851d46b80acf792ae90284481ec8e518e348..b831fba8f95737dd5004a5fdabd91210f66a9994 100644 (file)
@@ -837,6 +837,19 @@ typedef struct {
  */
 typedef void (*bt_hf_remote_call_event_cb) (bt_hf_remote_call_event_e event, char *phone_number, void *user_data);
 
+/**
+ * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
+ * @brief  Called when a vendor command event happened from Hands-Free.
+ * @since_tizen 2.3.2
+ * @remarks The @a meesage of cmd must be released with free() by you.
+ *
+ * @param[in] cmd  The information of vendor command
+ * @param[in] user_data The user data passed from the callback registration function
+ * @see bt_hf_set_vendor_dep_cmd_event_cb()
+ * @see bt_hf_unset_vendor_dep_cmd_event_cb()
+ */
+typedef void (*bt_hf_vendor_dep_cmd_event_cb) (bt_hf_vendor_dep_at_cmd_s cmd, void *user_data);
+
 /**
  * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE
  * @brief  Called when a XSAT vendor command is transmitted from Hands-Free.