diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2012-02-02 13:57:05 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-02-10 10:18:01 +0100 |
commit | 8b35fa127756a314735301b9416bd649b299137e (patch) | |
tree | 27e7e718be566e560bc78d8e3c728ddedbc61205 /btio | |
parent | c5193182eafbae7d389bd8044164dcef74968f9a (diff) | |
download | ofono-8b35fa127756a314735301b9416bd649b299137e.tar.bz2 |
btio: Add BtIOMode enum to be used with BT_IO_OPT_MODE
Diffstat (limited to 'btio')
-rw-r--r-- | btio/btio.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/btio/btio.h b/btio/btio.h index 126d5d93..429e8c0e 100644 --- a/btio/btio.h +++ b/btio/btio.h @@ -77,6 +77,14 @@ typedef enum { BT_IO_SEC_HIGH, } BtIOSecLevel; +typedef enum { + BT_IO_MODE_BASIC = 0, + BT_IO_MODE_RETRANS, + BT_IO_MODE_FLOWCTL, + BT_IO_MODE_ERTM, + BT_IO_MODE_STREAMING +} BtIOMode; + typedef void (*BtIOConfirm)(GIOChannel *io, gpointer user_data); typedef void (*BtIOConnect)(GIOChannel *io, GError *err, gpointer user_data); |