diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2012-02-27 10:56:43 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-02-27 10:56:43 -0800 |
commit | d5be1cc111dd9834c05c040c10529b632ab8f99e (patch) | |
tree | be725f83ca1c003440b8accb38e10892676e7d77 /emulator/vhci.h | |
parent | 9d3b93ede77ed7e5b0a040a5df45b55991274808 (diff) | |
download | bluez-d5be1cc111dd9834c05c040c10529b632ab8f99e.tar.gz |
emulator: Add initial version of new emulator
Diffstat (limited to 'emulator/vhci.h')
-rw-r--r-- | emulator/vhci.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/emulator/vhci.h b/emulator/vhci.h new file mode 100644 index 000000000..4abb18303 --- /dev/null +++ b/emulator/vhci.h @@ -0,0 +1,35 @@ +/* + * + * BlueZ - Bluetooth protocol stack for Linux + * + * Copyright (C) 2011-2012 Intel Corporation + * Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.org> + * + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#include <stdint.h> + +enum vhci_type { + VHCI_TYPE_BREDR = 0, + VHCI_TYPE_AMP = 1, +}; + +struct vhci; + +struct vhci *vhci_open(enum vhci_type type, uint16_t id); +void vhci_close(struct vhci *vhci); |