diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2012-02-02 13:57:05 -0800 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-02 15:55:07 -0800 |
commit | c2452f3d4577ee8d0adcc47811412dc1d1e30ccb (patch) | |
tree | 4052ef0d29433a8c69ea4fe5930769f4560f9cf8 /btio | |
parent | c4a8ba6d82f1b5c7f14c2abc01242925c60b468d (diff) | |
download | bluez-c2452f3d4577ee8d0adcc47811412dc1d1e30ccb.tar.gz |
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 126d5d93b..429e8c0e9 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); |