2012-02-28 02:56:43 +08:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
* BlueZ - Bluetooth protocol stack for Linux
|
|
|
|
*
|
2014-02-13 01:24:13 +08:00
|
|
|
* Copyright (C) 2011-2014 Intel Corporation
|
2012-02-28 02:56:43 +08:00
|
|
|
* Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.org>
|
|
|
|
*
|
|
|
|
*
|
2014-02-13 01:24:13 +08:00
|
|
|
* 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.
|
2012-02-28 02:56:43 +08:00
|
|
|
*
|
2014-02-13 01:24:13 +08:00
|
|
|
* This library is distributed in the hope that it will be useful,
|
2012-02-28 02:56:43 +08:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2014-02-13 01:24:13 +08:00
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
2012-02-28 02:56:43 +08:00
|
|
|
*
|
2014-02-13 01:24:13 +08:00
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
2012-02-28 02:56:43 +08:00
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
enum vhci_type {
|
2013-02-01 04:11:46 +08:00
|
|
|
VHCI_TYPE_BREDRLE,
|
2012-10-30 06:49:30 +08:00
|
|
|
VHCI_TYPE_BREDR,
|
2013-02-01 04:11:46 +08:00
|
|
|
VHCI_TYPE_LE,
|
2012-10-30 06:49:30 +08:00
|
|
|
VHCI_TYPE_AMP,
|
2012-02-28 02:56:43 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
struct vhci;
|
|
|
|
|
2012-10-30 06:49:30 +08:00
|
|
|
struct vhci *vhci_open(enum vhci_type type);
|
2012-02-28 02:56:43 +08:00
|
|
|
void vhci_close(struct vhci *vhci);
|