summaryrefslogtreecommitdiff
path: root/emulator/phy.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2014-12-14 01:04:59 +0100
committerMarcel Holtmann <marcel@holtmann.org>2014-12-14 01:04:59 +0100
commitd6c1d96051c5efda7996f95892704ce63e0d4bee (patch)
tree6281656a7e7de8c882ead6868a20a69b81209abc /emulator/phy.h
parent78cbdd40b2c4a10f7b6de53dc82663f2eaed523e (diff)
downloadbluez-d6c1d96051c5efda7996f95892704ce63e0d4bee.tar.gz
emulator: Add skeleton for virtual PHY handling
Diffstat (limited to 'emulator/phy.h')
-rw-r--r--emulator/phy.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/emulator/phy.h b/emulator/phy.h
new file mode 100644
index 000000000..a070e0353
--- /dev/null
+++ b/emulator/phy.h
@@ -0,0 +1,30 @@
+/*
+ *
+ * BlueZ - Bluetooth protocol stack for Linux
+ *
+ * Copyright (C) 2011-2012 Intel Corporation
+ * Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.org>
+ *
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+struct bt_phy;
+
+struct bt_phy *bt_phy_new(void);
+
+struct bt_phy *bt_phy_ref(struct bt_phy *phy);
+void bt_phy_unref(struct bt_phy *phy);