summaryrefslogtreecommitdiffstats
path: root/btif/include/btif_common.h
diff options
context:
space:
mode:
authorKausik Sinnaswamy <kausik@broadcom.com>2012-03-06 17:08:42 -0800
committerMatthew Xie <mattx@google.com>2012-07-14 11:19:11 -0700
commitb23905722d8a1c714d66aaee2da5712694596426 (patch)
treebb7ff539fa94fa219d87415253f56c147dac7876 /btif/include/btif_common.h
parent3d576de19430085695937c04dffb2f0c8daf38e5 (diff)
downloadexternal_bluetooth_bluedroid-b23905722d8a1c714d66aaee2da5712694596426.zip
external_bluetooth_bluedroid-b23905722d8a1c714d66aaee2da5712694596426.tar.gz
external_bluetooth_bluedroid-b23905722d8a1c714d66aaee2da5712694596426.tar.bz2
Dynamic enable/disable profiles using the profile's init/cleanup APIs
Change-Id: I40ed55ada7aad0cc0e017cae16049472ef318542
Diffstat (limited to 'btif/include/btif_common.h')
-rw-r--r--btif/include/btif_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/btif/include/btif_common.h b/btif/include/btif_common.h
index 488adb8..f594ee4 100644
--- a/btif/include/btif_common.h
+++ b/btif/include/btif_common.h
@@ -112,6 +112,8 @@ enum
/* add here */
BTIF_DM_API_START = BTIF_SIG_START(BTIF_DM),
+ BTIF_DM_ENABLE_SERVICE,
+ BTIF_DM_DISABLE_SERVICE,
/* add here */
BTIF_HFP_API_START = BTIF_SIG_START(BTIF_HFP),
@@ -163,6 +165,9 @@ typedef struct
** Functions
************************************************************************************/
bt_status_t btif_transfer_context (tBTIF_CBACK *p_cback, UINT16 event, char* p_params, int param_len, tBTIF_COPY_CBACK *p_copy_cback);
+tBTA_SERVICE_MASK btif_get_enabled_services_mask(void);
+bt_status_t btif_enable_service(tBTA_SERVICE_ID service_id);
+bt_status_t btif_disable_service(tBTA_SERVICE_ID service_id);
/*
* BTIF_Events