summaryrefslogtreecommitdiffstats
path: root/btif/include/btif_sm.h
diff options
context:
space:
mode:
Diffstat (limited to 'btif/include/btif_sm.h')
-rw-r--r--btif/include/btif_sm.h27
1 files changed, 19 insertions, 8 deletions
diff --git a/btif/include/btif_sm.h b/btif/include/btif_sm.h
index c66987f..fb8ddc7 100644
--- a/btif/include/btif_sm.h
+++ b/btif/include/btif_sm.h
@@ -60,11 +60,6 @@
** Constants & Macros
******************************************************************************/
-/* Generic Enter/Exit state machine events */
-#define BTIF_SM_ENTER_EVT 0xFFFF
-#define BTIF_SM_EXIT_EVT 0xFFFE
-
-
/*****************************************************************************
** Type definitions and return values
******************************************************************************/
@@ -73,14 +68,28 @@ typedef UINT32 btif_sm_event_t;
typedef void* btif_sm_handle_t;
typedef BOOLEAN(*btif_sm_handler_t)(btif_sm_event_t event, void *data);
+/* Generic Enter/Exit state machine events */
+#define BTIF_SM_ENTER_EVT 0xFFFF
+#define BTIF_SM_EXIT_EVT 0xFFFE
+
+/*****************************************************************************
+** Extern variables and functions
+******************************************************************************/
/*****************************************************************************
** Functions
-**
-** NOTE: THESE APIs SHOULD BE INVOKED ONLY IN THE BTIF CONTEXT
-**
******************************************************************************/
+/*
+ *
+ * ########################################################################
+ *
+ * NOTE: THESE APIs SHOULD BE INVOKED ONLY IN THE BTIF CONTEXT
+ *
+ * #######################################################################
+ *
+ */
+
/*****************************************************************************
**
** Function btif_sm_init
@@ -145,3 +154,5 @@ bt_status_t btif_sm_dispatch(btif_sm_handle_t handle, btif_sm_event_t event,
bt_status_t btif_sm_change_state(btif_sm_handle_t handle, btif_sm_state_t state);
#endif /* BTIF_SM_H */
+
+