summaryrefslogtreecommitdiffstats
path: root/common/glib-helper.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-05-30 08:57:22 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-05-30 08:57:22 +0000
commit3232edc9af22131032cef987479d081b90fa4f81 (patch)
treecc9236458d22c573c4a1be3839f5cfe25278a226 /common/glib-helper.h
parentf3ef195f207870d40785c9a6275c517ac4643f0e (diff)
Rename the transport types with proper BT_IO prefix
Diffstat (limited to 'common/glib-helper.h')
-rw-r--r--common/glib-helper.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/common/glib-helper.h b/common/glib-helper.h
index 458d5c88..0919fe97 100644
--- a/common/glib-helper.h
+++ b/common/glib-helper.h
@@ -60,14 +60,15 @@ int bt_sco_connect(const bdaddr_t *src, const bdaddr_t *dst,
typedef struct bt_io BtIO;
typedef enum {
- BT_L2CAP,
- BT_RFCOMM,
- BT_SCO
+ BT_IO_AUTO,
+ BT_IO_L2CAP,
+ BT_IO_RFCOMM,
+ BT_IO_SCO,
} BtIOTransport;
typedef enum {
BT_IO_SUCCESS,
- BT_IO_FAILED
+ BT_IO_FAILED,
} BtIOError;
typedef void (*BtIOFunc) (BtIO *io, BtIOError err, GIOChannel *chan,