mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-27 14:14:32 +08:00
f24ee89ab9
This patch adds SPDX License Identifier and removes the license text. ------------------------------------- License COUNT ------------------------------------- LGPL-2.1-or-later : 20 GPL-2.0-or-later : 2 License: LGPL-2.1-or-later emulator/server.c emulator/amp.c emulator/hciemu.c emulator/vhci.c emulator/btdev.c emulator/serial.h emulator/le.h emulator/le.c emulator/main.c emulator/amp.h emulator/hciemu.h emulator/bthost.h emulator/btdev.h emulator/vhci.h emulator/serial.c emulator/phy.c emulator/smp.c emulator/phy.h emulator/bthost.c emulator/server.h License: GPL-2.0-or-later emulator/b1ee.c emulator/hfp.c
27 lines
560 B
C
27 lines
560 B
C
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
/*
|
|
*
|
|
* BlueZ - Bluetooth protocol stack for Linux
|
|
*
|
|
* Copyright (C) 2011-2014 Intel Corporation
|
|
* Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.org>
|
|
*
|
|
*
|
|
*/
|
|
|
|
#include <stdint.h>
|
|
|
|
enum server_type {
|
|
SERVER_TYPE_BREDRLE,
|
|
SERVER_TYPE_BREDR,
|
|
SERVER_TYPE_LE,
|
|
SERVER_TYPE_AMP,
|
|
SERVER_TYPE_MONITOR,
|
|
};
|
|
|
|
struct server;
|
|
|
|
struct server *server_open_unix(enum server_type type, const char *path);
|
|
struct server *server_open_tcp(enum server_type type);
|
|
void server_close(struct server *server);
|