Prepare for meson build system
Subsystems (4)
v2 cover Prepare for meson build system
Changes since v1:
- Fixed make distcheck
Bastien Nocera (3):
build: Move library source to lib/bluetooth
client: Fix missing strdup/memset declarations
mesh: Fix 'buf’ may be used uninitialized warning
.gitignore | 1 -
Makefile.am | 25 ++++++++-----------------
attrib/att.c | 4 ++--
attrib/gatt.c | 6 +++---
attrib/gattrib.c | 4 ++--
attrib/gatttool.c | 10 +++++-----
attrib/interactive.c | 6 +++---
attrib/utils.c | 10 +++++-----
btio/btio.c | 10 +++++-----
client/assistant.c | 4 ++--
client/display.c | 1 +
client/mgmt.c | 14 +++++++-------
client/player.c | 6 +++---
emulator/b1ee.c | 4 ++--
emulator/btdev.c | 4 ++--
emulator/bthost.c | 2 +-
emulator/bthost.h | 2 +-
emulator/hciemu.c | 4 ++--
emulator/le.c | 4 ++--
emulator/serial.c | 4 ++--
emulator/server.c | 4 ++--
emulator/smp.c | 4 ++--
emulator/vhci.c | 4 ++--
lib/{ => bluetooth}/bluetooth.c | 0
lib/{ => bluetooth}/bluetooth.h | 0
lib/{ => bluetooth}/bnep.h | 0
lib/{ => bluetooth}/cmtp.h | 0
lib/{ => bluetooth}/hci.c | 0
lib/{ => bluetooth}/hci.h | 0
lib/{ => bluetooth}/hci_lib.h | 0
lib/{ => bluetooth}/hidp.h | 0
lib/{ => bluetooth}/iso.h | 0
lib/{ => bluetooth}/l2cap.h | 0
lib/{ => bluetooth}/mgmt.h | 0
lib/{ => bluetooth}/rfcomm.h | 0
lib/{ => bluetooth}/sco.h | 0
lib/{ => bluetooth}/sdp.c | 0
lib/{ => bluetooth}/sdp.h | 0
lib/{ => bluetooth}/sdp_lib.h | 0
lib/{ => bluetooth}/uuid.c | 2 +-
lib/{ => bluetooth}/uuid.h | 0
mesh/main.c | 4 ++--
mesh/mesh-io-generic.c | 4 ++--
mesh/mesh-io-mgmt.c | 6 +++---
mesh/mesh-io.c | 4 ++--
mesh/mesh-mgmt.c | 4 ++--
monitor/a2dp.c | 2 +-
monitor/analyze.c | 2 +-
monitor/att.c | 8 ++++----
monitor/avctp.c | 4 ++--
monitor/avdtp.c | 2 +-
monitor/bnep.c | 4 ++--
monitor/control.c | 6 +++---
monitor/hcidump.c | 6 +++---
monitor/intel.c | 4 ++--
monitor/l2cap.c | 4 ++--
monitor/msft.c | 4 ++--
monitor/packet.c | 8 ++++----
monitor/rfcomm.c | 4 ++--
monitor/sdp.c | 4 ++--
obexd/client/bluetooth.c | 8 ++++----
obexd/client/map.c | 2 +-
obexd/client/pbap.c | 4 ++--
obexd/plugins/bluetooth.c | 4 ++--
obexd/plugins/syncevolution.c | 2 +-
peripheral/attach.c | 6 +++---
peripheral/gap.c | 4 ++--
peripheral/gatt.c | 6 +++---
plugins/admin.c | 4 ++--
plugins/autopair.c | 4 ++--
plugins/hostname.c | 4 ++--
plugins/neard.c | 6 +++---
plugins/policy.c | 8 ++++----
plugins/sixaxis.c | 6 +++---
profiles/audio/a2dp.c | 8 ++++----
profiles/audio/asha.c | 6 +++---
profiles/audio/avctp.c | 8 ++++----
profiles/audio/avdtp.c | 8 ++++----
profiles/audio/avrcp.c | 2 +-
profiles/audio/bap.c | 10 +++++-----
profiles/audio/bass.c | 6 +++---
profiles/audio/ccp.c | 8 ++++----
profiles/audio/control.c | 8 ++++----
profiles/audio/csip.c | 8 ++++----
profiles/audio/mcp.c | 8 ++++----
profiles/audio/media.c | 8 ++++----
profiles/audio/micp.c | 8 ++++----
profiles/audio/sink.c | 4 ++--
profiles/audio/source.c | 4 ++--
profiles/audio/transport.c | 6 +++---
profiles/audio/vcp.c | 8 ++++----
profiles/battery/bas.c | 6 +++---
profiles/battery/battery.c | 8 ++++----
profiles/cups/hcrp.c | 8 ++++----
profiles/cups/main.c | 6 +++---
profiles/cups/sdp.c | 6 +++---
profiles/cups/spp.c | 8 ++++----
profiles/deviceinfo/deviceinfo.c | 6 +++---
profiles/deviceinfo/dis.c | 6 +++---
profiles/gap/gas.c | 8 ++++----
profiles/health/hdp.c | 6 +++---
profiles/health/hdp_manager.c | 6 +++---
profiles/health/hdp_util.c | 8 ++++----
profiles/health/mcap.c | 2 +-
profiles/input/device.c | 10 +++++-----
profiles/input/hog-lib.c | 6 +++---
profiles/input/hog.c | 6 +++---
profiles/input/manager.c | 8 ++++----
profiles/input/server.c | 6 +++---
profiles/midi/midi.c | 6 +++---
profiles/network/bnep.c | 8 ++++----
profiles/network/connection.c | 8 ++++----
profiles/network/manager.c | 8 ++++----
profiles/network/server.c | 10 +++++-----
profiles/sap/manager.c | 4 ++--
profiles/sap/server.c | 6 +++---
profiles/scanparam/scan.c | 6 +++---
profiles/scanparam/scpp.c | 6 +++---
src/adapter.c | 4 ++--
src/adapter.h | 4 ++--
src/adv_monitor.c | 4 ++--
src/advertising.c | 6 +++---
src/agent.c | 4 ++--
src/battery.c | 2 +-
src/bearer.c | 4 ++--
src/device.c | 10 +++++-----
src/eir.c | 6 +++---
src/eir.h | 4 ++--
src/gatt-client.c | 6 +++---
src/gatt-database.c | 10 +++++-----
src/log.c | 4 ++--
src/main.c | 6 +++---
src/oui.c | 2 +-
src/plugin.c | 2 +-
src/profile.c | 8 ++++----
src/rfkill.c | 4 ++--
src/sdp-client.c | 6 +++---
src/sdp-xml.c | 4 ++--
src/sdpd-database.c | 6 +++---
src/sdpd-request.c | 8 ++++----
src/sdpd-server.c | 8 ++++----
src/sdpd-service.c | 6 +++---
src/service.c | 4 ++--
src/settings.c | 4 ++--
src/shared/ad.c | 4 ++--
src/shared/ad.h | 4 ++--
src/shared/asha.c | 4 ++--
src/shared/att.c | 6 +++---
src/shared/bap.c | 4 ++--
src/shared/bass.c | 4 ++--
src/shared/btp.c | 2 +-
src/shared/ccp.c | 6 +++---
src/shared/csip.c | 4 ++--
src/shared/gap.c | 4 ++--
src/shared/gatt-client.c | 4 ++--
src/shared/gatt-db.c | 4 ++--
src/shared/gatt-helpers.c | 4 ++--
src/shared/gatt-server.c | 4 ++--
src/shared/log.c | 4 ++--
src/shared/mcp.c | 6 +++---
src/shared/mgmt.c | 6 +++---
src/shared/micp.c | 4 ++--
src/shared/tester.c | 4 ++--
src/shared/util.c | 2 +-
src/shared/vcp.c | 4 ++--
src/storage.c | 8 ++++----
src/uuid-helper.c | 6 +++---
tools/advtest.c | 4 ++--
tools/avinfo.c | 8 ++++----
tools/avtest.c | 10 +++++-----
tools/bdaddr.c | 6 +++---
tools/bluetooth-player.c | 4 ++--
tools/bnep-tester.c | 6 +++---
tools/bneptest.c | 8 ++++----
tools/btattach.c | 6 +++---
tools/btgatt-client.c | 10 +++++-----
tools/btgatt-server.c | 10 +++++-----
tools/btiotest.c | 2 +-
tools/btmon-logger.c | 4 ++--
tools/btpclient.c | 2 +-
tools/btpclientctl.c | 2 +-
tools/ciptool.c | 14 +++++++-------
tools/cltest.c | 8 ++++----
tools/hciattach.c | 6 +++---
tools/hciattach_ath3k.c | 6 +++---
tools/hciattach_bcm43xx.c | 6 +++---
tools/hciattach_intel.c | 6 +++---
tools/hciattach_qualcomm.c | 6 +++---
tools/hciattach_st.c | 2 +-
tools/hciattach_ti.c | 6 +++---
tools/hciattach_tialt.c | 6 +++---
tools/hciconfig.c | 6 +++---
tools/hcidump.c | 4 ++--
tools/hcieventmask.c | 6 +++---
tools/hcisecfilter.c | 6 +++---
tools/hcitool.c | 6 +++---
tools/hwdb.c | 2 +-
tools/ioctl-tester.c | 8 ++++----
tools/iso-tester.c | 8 ++++----
tools/isotest.c | 10 +++++-----
tools/l2cap-tester.c | 6 +++---
tools/l2ping.c | 8 ++++----
tools/l2test.c | 8 ++++----
tools/mcaptest.c | 8 ++++----
tools/mesh-gatt/gatt.c | 4 ++--
tools/mesh-tester.c | 10 +++++-----
tools/mesh/agent.c | 4 ++--
tools/meshctl.c | 4 ++--
tools/mgmt-tester.c | 10 +++++-----
tools/oobtest.c | 4 ++--
tools/parser/hci.c | 4 ++--
tools/parser/l2cap.c | 2 +-
tools/parser/lmp.c | 4 ++--
tools/parser/parser.h | 2 +-
tools/rctest.c | 12 ++++++------
tools/rfcomm-tester.c | 6 +++---
tools/rfcomm.c | 8 ++++----
tools/sco-tester.c | 6 +++---
tools/scotest.c | 4 ++--
tools/sdptool.c | 10 +++++-----
tools/smp-tester.c | 6 +++---
tools/test-runner.c | 6 +++---
tools/userchan-tester.c | 6 +++---
unit/avctp.c | 2 +-
unit/avdtp.c | 2 +-
unit/avrcp-lib.c | 2 +-
unit/avrcp.c | 6 +++---
unit/test-avrcp.c | 2 +-
unit/test-bap.c | 4 ++--
unit/test-bass.c | 4 ++--
unit/test-eir.c | 6 +++---
unit/test-gatt.c | 4 ++--
unit/test-gattrib.c | 4 ++--
unit/test-hog.c | 4 ++--
unit/test-lib.c | 4 ++--
unit/test-mgmt.c | 4 ++--
unit/test-micp.c | 4 ++--
unit/test-sdp.c | 6 +++---
unit/test-uuid.c | 4 ++--
unit/test-vcp.c | 4 ++--
240 files changed, 616 insertions(+), 625 deletions(-)
rename lib/{ => bluetooth}/bluetooth.c (100%)
rename lib/{ => bluetooth}/bluetooth.h (100%)
rename lib/{ => bluetooth}/bnep.h (100%)
rename lib/{ => bluetooth}/cmtp.h (100%)
rename lib/{ => bluetooth}/hci.c (100%)
rename lib/{ => bluetooth}/hci.h (100%)
rename lib/{ => bluetooth}/hci_lib.h (100%)
rename lib/{ => bluetooth}/hidp.h (100%)
rename lib/{ => bluetooth}/iso.h (100%)
rename lib/{ => bluetooth}/l2cap.h (100%)
rename lib/{ => bluetooth}/mgmt.h (100%)
rename lib/{ => bluetooth}/rfcomm.h (100%)
rename lib/{ => bluetooth}/sco.h (100%)
rename lib/{ => bluetooth}/sdp.c (100%)
rename lib/{ => bluetooth}/sdp.h (100%)
rename lib/{ => bluetooth}/sdp_lib.h (100%)
rename lib/{ => bluetooth}/uuid.c (99%)
rename lib/{ => bluetooth}/uuid.h (100%)Signature · 1 line
2.50.0
PATCH v2 1/3 build: Move library source to lib/bluetooth
This fixes the installed directory hierarchy not matching the source directory hierarchy.
---
.gitignore | 1 -
Makefile.am | 25 ++++++++-----------------
attrib/att.c | 4 ++--
attrib/gatt.c | 6 +++---
attrib/gattrib.c | 4 ++--
attrib/gatttool.c | 10 +++++-----
attrib/interactive.c | 6 +++---
attrib/utils.c | 10 +++++-----
btio/btio.c | 10 +++++-----
client/assistant.c | 4 ++--
client/mgmt.c | 14 +++++++-------
client/player.c | 6 +++---
emulator/b1ee.c | 4 ++--
emulator/btdev.c | 4 ++--
emulator/bthost.c | 2 +-
emulator/bthost.h | 2 +-
emulator/hciemu.c | 4 ++--
emulator/le.c | 4 ++--
emulator/serial.c | 4 ++--
emulator/server.c | 4 ++--
emulator/smp.c | 4 ++--
emulator/vhci.c | 4 ++--
lib/{ => bluetooth}/bluetooth.c | 0
lib/{ => bluetooth}/bluetooth.h | 0
lib/{ => bluetooth}/bnep.h | 0
lib/{ => bluetooth}/cmtp.h | 0
lib/{ => bluetooth}/hci.c | 0
lib/{ => bluetooth}/hci.h | 0
lib/{ => bluetooth}/hci_lib.h | 0
lib/{ => bluetooth}/hidp.h | 0
lib/{ => bluetooth}/iso.h | 0
lib/{ => bluetooth}/l2cap.h | 0
lib/{ => bluetooth}/mgmt.h | 0
lib/{ => bluetooth}/rfcomm.h | 0
lib/{ => bluetooth}/sco.h | 0
lib/{ => bluetooth}/sdp.c | 0
lib/{ => bluetooth}/sdp.h | 0
lib/{ => bluetooth}/sdp_lib.h | 0
lib/{ => bluetooth}/uuid.c | 2 +-
lib/{ => bluetooth}/uuid.h | 0
mesh/main.c | 4 ++--
mesh/mesh-io-generic.c | 4 ++--
mesh/mesh-io-mgmt.c | 6 +++---
mesh/mesh-io.c | 4 ++--
mesh/mesh-mgmt.c | 4 ++--
monitor/a2dp.c | 2 +-
monitor/analyze.c | 2 +-
monitor/att.c | 8 ++++----
monitor/avctp.c | 4 ++--
monitor/avdtp.c | 2 +-
monitor/bnep.c | 4 ++--
monitor/control.c | 6 +++---
monitor/hcidump.c | 6 +++---
monitor/intel.c | 4 ++--
monitor/l2cap.c | 4 ++--
monitor/msft.c | 4 ++--
monitor/packet.c | 8 ++++----
monitor/rfcomm.c | 4 ++--
monitor/sdp.c | 4 ++--
obexd/client/bluetooth.c | 8 ++++----
obexd/client/map.c | 2 +-
obexd/client/pbap.c | 4 ++--
obexd/plugins/bluetooth.c | 4 ++--
obexd/plugins/syncevolution.c | 2 +-
peripheral/attach.c | 6 +++---
peripheral/gap.c | 4 ++--
peripheral/gatt.c | 6 +++---
plugins/admin.c | 4 ++--
plugins/autopair.c | 4 ++--
plugins/hostname.c | 4 ++--
plugins/neard.c | 6 +++---
plugins/policy.c | 8 ++++----
plugins/sixaxis.c | 6 +++---
profiles/audio/a2dp.c | 8 ++++----
profiles/audio/asha.c | 6 +++---
profiles/audio/avctp.c | 8 ++++----
profiles/audio/avdtp.c | 8 ++++----
profiles/audio/avrcp.c | 2 +-
profiles/audio/bap.c | 10 +++++-----
profiles/audio/bass.c | 6 +++---
profiles/audio/ccp.c | 8 ++++----
profiles/audio/control.c | 8 ++++----
profiles/audio/csip.c | 8 ++++----
profiles/audio/mcp.c | 8 ++++----
profiles/audio/media.c | 8 ++++----
profiles/audio/micp.c | 8 ++++----
profiles/audio/sink.c | 4 ++--
profiles/audio/source.c | 4 ++--
profiles/audio/transport.c | 6 +++---
profiles/audio/vcp.c | 8 ++++----
profiles/battery/bas.c | 6 +++---
profiles/battery/battery.c | 8 ++++----
profiles/cups/hcrp.c | 8 ++++----
profiles/cups/main.c | 6 +++---
profiles/cups/sdp.c | 6 +++---
profiles/cups/spp.c | 8 ++++----
profiles/deviceinfo/deviceinfo.c | 6 +++---
profiles/deviceinfo/dis.c | 6 +++---
profiles/gap/gas.c | 8 ++++----
profiles/health/hdp.c | 6 +++---
profiles/health/hdp_manager.c | 6 +++---
profiles/health/hdp_util.c | 8 ++++----
profiles/health/mcap.c | 2 +-
profiles/input/device.c | 10 +++++-----
profiles/input/hog-lib.c | 6 +++---
profiles/input/hog.c | 6 +++---
profiles/input/manager.c | 8 ++++----
profiles/input/server.c | 6 +++---
profiles/midi/midi.c | 6 +++---
profiles/network/bnep.c | 8 ++++----
profiles/network/connection.c | 8 ++++----
profiles/network/manager.c | 8 ++++----
profiles/network/server.c | 10 +++++-----
profiles/sap/manager.c | 4 ++--
profiles/sap/server.c | 6 +++---
profiles/scanparam/scan.c | 6 +++---
profiles/scanparam/scpp.c | 6 +++---
src/adapter.c | 4 ++--
src/adapter.h | 4 ++--
src/adv_monitor.c | 4 ++--
src/advertising.c | 6 +++---
src/agent.c | 4 ++--
src/battery.c | 2 +-
src/bearer.c | 4 ++--
src/device.c | 10 +++++-----
src/eir.c | 6 +++---
src/eir.h | 4 ++--
src/gatt-client.c | 6 +++---
src/gatt-database.c | 10 +++++-----
src/log.c | 4 ++--
src/main.c | 6 +++---
src/oui.c | 2 +-
src/plugin.c | 2 +-
src/profile.c | 8 ++++----
src/rfkill.c | 4 ++--
src/sdp-client.c | 6 +++---
src/sdp-xml.c | 4 ++--
src/sdpd-database.c | 6 +++---
src/sdpd-request.c | 8 ++++----
src/sdpd-server.c | 8 ++++----
src/sdpd-service.c | 6 +++---
src/service.c | 4 ++--
src/settings.c | 4 ++--
src/shared/ad.c | 4 ++--
src/shared/ad.h | 4 ++--
src/shared/asha.c | 4 ++--
src/shared/att.c | 6 +++---
src/shared/bap.c | 4 ++--
src/shared/bass.c | 4 ++--
src/shared/btp.c | 2 +-
src/shared/ccp.c | 6 +++---
src/shared/csip.c | 4 ++--
src/shared/gap.c | 4 ++--
src/shared/gatt-client.c | 4 ++--
src/shared/gatt-db.c | 4 ++--
src/shared/gatt-helpers.c | 4 ++--
src/shared/gatt-server.c | 4 ++--
src/shared/log.c | 4 ++--
src/shared/mcp.c | 6 +++---
src/shared/mgmt.c | 6 +++---
src/shared/micp.c | 4 ++--
src/shared/tester.c | 4 ++--
src/shared/util.c | 2 +-
src/shared/vcp.c | 4 ++--
src/storage.c | 8 ++++----
src/uuid-helper.c | 6 +++---
tools/advtest.c | 4 ++--
tools/avinfo.c | 8 ++++----
tools/avtest.c | 10 +++++-----
tools/bdaddr.c | 6 +++---
tools/bluetooth-player.c | 4 ++--
tools/bnep-tester.c | 6 +++---
tools/bneptest.c | 8 ++++----
tools/btattach.c | 6 +++---
tools/btgatt-client.c | 10 +++++-----
tools/btgatt-server.c | 10 +++++-----
tools/btiotest.c | 2 +-
tools/btmon-logger.c | 4 ++--
tools/btpclient.c | 2 +-
tools/btpclientctl.c | 2 +-
tools/ciptool.c | 14 +++++++-------
tools/cltest.c | 8 ++++----
tools/hciattach.c | 6 +++---
tools/hciattach_ath3k.c | 6 +++---
tools/hciattach_bcm43xx.c | 6 +++---
tools/hciattach_intel.c | 6 +++---
tools/hciattach_qualcomm.c | 6 +++---
tools/hciattach_st.c | 2 +-
tools/hciattach_ti.c | 6 +++---
tools/hciattach_tialt.c | 6 +++---
tools/hciconfig.c | 6 +++---
tools/hcidump.c | 4 ++--
tools/hcieventmask.c | 6 +++---
tools/hcisecfilter.c | 6 +++---
tools/hcitool.c | 6 +++---
tools/hwdb.c | 2 +-
tools/ioctl-tester.c | 8 ++++----
tools/iso-tester.c | 8 ++++----
tools/isotest.c | 10 +++++-----
tools/l2cap-tester.c | 6 +++---
tools/l2ping.c | 8 ++++----
tools/l2test.c | 8 ++++----
tools/mcaptest.c | 8 ++++----
tools/mesh-gatt/gatt.c | 4 ++--
tools/mesh-tester.c | 10 +++++-----
tools/mesh/agent.c | 2 +-
tools/meshctl.c | 4 ++--
tools/mgmt-tester.c | 10 +++++-----
tools/oobtest.c | 4 ++--
tools/parser/hci.c | 4 ++--
tools/parser/l2cap.c | 2 +-
tools/parser/lmp.c | 4 ++--
tools/parser/parser.h | 2 +-
tools/rctest.c | 12 ++++++------
tools/rfcomm-tester.c | 6 +++---
tools/rfcomm.c | 8 ++++----
tools/sco-tester.c | 6 +++---
tools/scotest.c | 4 ++--
tools/sdptool.c | 10 +++++-----
tools/smp-tester.c | 6 +++---
tools/test-runner.c | 6 +++---
tools/userchan-tester.c | 6 +++---
unit/avctp.c | 2 +-
unit/avdtp.c | 2 +-
unit/avrcp-lib.c | 2 +-
unit/avrcp.c | 6 +++---
unit/test-avrcp.c | 2 +-
unit/test-bap.c | 4 ++--
unit/test-bass.c | 4 ++--
unit/test-eir.c | 6 +++---
unit/test-gatt.c | 4 ++--
unit/test-gattrib.c | 4 ++--
unit/test-hog.c | 4 ++--
unit/test-lib.c | 4 ++--
unit/test-mgmt.c | 4 ++--
unit/test-micp.c | 4 ++--
unit/test-sdp.c | 6 +++---
unit/test-uuid.c | 4 ++--
unit/test-vcp.c | 4 ++--
239 files changed, 614 insertions(+), 624 deletions(-)
rename lib/{ => bluetooth}/bluetooth.c (100%)
rename lib/{ => bluetooth}/bluetooth.h (100%)
rename lib/{ => bluetooth}/bnep.h (100%)
rename lib/{ => bluetooth}/cmtp.h (100%)
rename lib/{ => bluetooth}/hci.c (100%)
rename lib/{ => bluetooth}/hci.h (100%)
rename lib/{ => bluetooth}/hci_lib.h (100%)
rename lib/{ => bluetooth}/hidp.h (100%)
rename lib/{ => bluetooth}/iso.h (100%)
rename lib/{ => bluetooth}/l2cap.h (100%)
rename lib/{ => bluetooth}/mgmt.h (100%)
rename lib/{ => bluetooth}/rfcomm.h (100%)
rename lib/{ => bluetooth}/sco.h (100%)
rename lib/{ => bluetooth}/sdp.c (100%)
rename lib/{ => bluetooth}/sdp.h (100%)
rename lib/{ => bluetooth}/sdp_lib.h (100%)
rename lib/{ => bluetooth}/uuid.c (99%)
rename lib/{ => bluetooth}/uuid.h (100%).gitignore +0 -1
@@ -38,7 +38,6 @@ coverage ell lib/bluez.pc -lib/bluetooth src/builtin.h src/bluetoothd tools/97-hid2hci.rules
Makefile.am +8 -17
@@ -73,17 +73,15 @@ manual_pages = plugin_LTLIBRARIES = -lib_sources = lib/bluetooth.c lib/hci.c lib/sdp.c -lib_headers = lib/bluetooth.h lib/hci.h lib/hci_lib.h \ - lib/sco.h lib/l2cap.h lib/sdp.h lib/sdp_lib.h \ - lib/rfcomm.h lib/bnep.h lib/cmtp.h lib/hidp.h +lib_sources = lib/bluetooth/bluetooth.c lib/bluetooth/hci.c lib/bluetooth/sdp.c +lib_headers = lib/bluetooth/bluetooth.h lib/bluetooth/hci.h lib/bluetooth/hci_lib.h \ + lib/bluetooth/sco.h lib/bluetooth/l2cap.h lib/bluetooth/sdp.h lib/bluetooth/sdp_lib.h \ + lib/bluetooth/rfcomm.h lib/bluetooth/bnep.h lib/bluetooth/cmtp.h lib/bluetooth/hidp.h -extra_headers = lib/mgmt.h lib/uuid.h lib/iso.h -extra_sources = lib/uuid.c +extra_headers = lib/bluetooth/mgmt.h lib/bluetooth/uuid.h lib/bluetooth/iso.h +extra_sources = lib/bluetooth/uuid.c -local_headers = $(foreach file,$(lib_headers), lib/bluetooth/$(notdir $(file))) - -BUILT_SOURCES = $(local_headers) $(ell_built_sources) src/builtin.h +BUILT_SOURCES = $(ell_built_sources) src/builtin.h if LIBRARY pkginclude_HEADERS += $(lib_headers)
@@ -517,7 +515,7 @@ EXTRA_DIST += doc/btsnoop.txt EXTRA_DIST += tools/magic.btsnoop -AM_CPPFLAGS += $(DBUS_CFLAGS) $(GLIB_CFLAGS) -I$(builddir)/lib +AM_CPPFLAGS += $(DBUS_CFLAGS) $(GLIB_CFLAGS) -I$(srcdir)/lib unit_tests += unit/test-tester
@@ -789,12 +787,6 @@ tools/%.rules: $(AM_V_at)$(MKDIR_P) tools $(AM_V_GEN)cp $(srcdir)/$(subst 97-,,$@) $@ -$(lib_libbluetooth_la_OBJECTS): $(local_headers) - -lib/bluetooth/%.h: lib/%.h - $(AM_V_at)$(MKDIR_P) lib/bluetooth - $(AM_V_GEN)$(LN_S) -f $(abspath $<) $@ - ell/shared: Makefile $(AM_V_at)$(MKDIR_P) ell $(AM_V_GEN)for f in $(ell_shared) ; do \
@@ -835,4 +827,3 @@ endif clean-local: clean-coverage -find $(top_builddir) -name "*.gcno" -delete -find $(top_builddir) -name "*.gcda" -delete - $(RM) -r lib/bluetooth
attrib/att.c +2 -2
@@ -19,8 +19,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "att.h"
attrib/gatt.c +3 -3
@@ -18,9 +18,9 @@#include <glib.h> -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "att.h"
attrib/gattrib.c +2 -2
@@ -20,8 +20,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "btio/btio.h" #include "src/log.h"
attrib/gatttool.c +5 -5
@@ -19,11 +19,11 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "att.h"
attrib/interactive.c +3 -3
@@ -26,9 +26,9 @@#include <readline/readline.h> #include <readline/history.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "btio/btio.h"
attrib/utils.c +5 -5
@@ -16,11 +16,11 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "btio/btio.h" #include "att.h"
btio/btio.c +5 -5
@@ -25,11 +25,11 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/l2cap.h" -#include "lib/rfcomm.h" -#include "lib/sco.h" -#include "lib/iso.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/rfcomm.h" +#include "bluetooth/sco.h" +#include "bluetooth/iso.h" #include "btio.h"
client/assistant.c +2 -2
@@ -26,8 +26,8 @@#include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/shell.h"
client/mgmt.c +7 -7
@@ -29,15 +29,15 @@#include <wordexp.h> #include <ctype.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "src/uuid-helper.h" -#include "lib/mgmt.h" +#include "bluetooth/mgmt.h" #include "src/shared/mainloop.h" #include "src/shared/io.h"
client/player.c +3 -3
@@ -32,9 +32,9 @@#include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/uuid.h" -#include "lib/iso.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" +#include "bluetooth/iso.h" #include "profiles/audio/a2dp-codecs.h" #include "src/shared/lc3.h"
emulator/b1ee.c +2 -2
@@ -26,8 +26,8 @@#include <netdb.h> #include <arpa/inet.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/mainloop.h"
emulator/btdev.c +2 -2
@@ -27,8 +27,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/util.h" #include "src/shared/timeout.h"
emulator/bthost.c +1 -1
@@ -22,7 +22,7 @@#include <endian.h> #include <stdbool.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "src/shared/util.h" #include "src/shared/tester.h"
emulator/bthost.h +1 -1
@@ -13,7 +13,7 @@#include <stdint.h> #include <sys/uio.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" typedef void (*bthost_send_func ) (const struct iovec *iov,int iovlen,void *user_data);
emulator/hciemu.c +2 -2
@@ -25,8 +25,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "monitor/bt.h" #include "emulator/vhci.h"
emulator/le.c +2 -2
@@ -22,8 +22,8 @@#include <sys/uio.h> #include <time.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/util.h" #include "src/shared/crypto.h"
emulator/serial.c +2 -2
@@ -26,8 +26,8 @@#include <sys/epoll.h> #include <sys/uio.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/mainloop.h" #include "btdev.h"
emulator/server.c +2 -2
@@ -26,8 +26,8 @@#include <netinet/in.h> #include <arpa/inet.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/mainloop.h" #include "btdev.h"
emulator/smp.c +2 -2
@@ -22,8 +22,8 @@#include <stdbool.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/util.h" #include "src/shared/crypto.h"
emulator/vhci.c +2 -2
@@ -25,8 +25,8 @@#include <dirent.h> #include <limits.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/io.h" #include "monitor/bt.h"
lib/bluetooth/bluetooth.c renamed from lib/bluetooth.c +0 -0
lib/bluetooth/bluetooth.h renamed from lib/bluetooth.h +0 -0
lib/bluetooth/bnep.h renamed from lib/bnep.h +0 -0
lib/bluetooth/cmtp.h renamed from lib/cmtp.h +0 -0
lib/bluetooth/hci.c renamed from lib/hci.c +0 -0
lib/bluetooth/hci.h renamed from lib/hci.h +0 -0
lib/bluetooth/hci_lib.h renamed from lib/hci_lib.h +0 -0
lib/bluetooth/hidp.h renamed from lib/hidp.h +0 -0
lib/bluetooth/iso.h renamed from lib/iso.h +0 -0
lib/bluetooth/l2cap.h renamed from lib/l2cap.h +0 -0
lib/bluetooth/mgmt.h renamed from lib/mgmt.h +0 -0
lib/bluetooth/rfcomm.h renamed from lib/rfcomm.h +0 -0
lib/bluetooth/sco.h renamed from lib/sco.h +0 -0
lib/bluetooth/sdp.c renamed from lib/sdp.c +0 -0
lib/bluetooth/sdp.h renamed from lib/sdp.h +0 -0
lib/bluetooth/sdp_lib.h renamed from lib/sdp_lib.h +0 -0
lib/bluetooth/uuid.c renamed from lib/uuid.c +1 -1
@@ -17,7 +17,7 @@#include <stdlib.h> #include <errno.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "uuid.h" static uint128_t bluetooth_base_uuid = {
lib/bluetooth/uuid.h renamed from lib/uuid.h +0 -0
mesh/main.c +2 -2
@@ -24,8 +24,8 @@#include <sys/stat.h> #include <ell/ell.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "mesh/mesh.h" #include "mesh/crypto.h"
mesh/mesh-io-generic.c +2 -2
@@ -22,8 +22,8 @@#include "src/shared/ad.h" #include "src/shared/hci.h" #include "src/shared/mgmt.h" -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "mesh/mesh-defs.h" #include "mesh/mesh-mgmt.h"
mesh/mesh-io-mgmt.c +3 -3
@@ -20,9 +20,9 @@#include <ell/ell.h> #include "monitor/bt.h" -#include "lib/bluetooth.h" -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "src/shared/ad.h" #include "src/shared/mgmt.h"
mesh/mesh-io.c +2 -2
@@ -16,8 +16,8 @@#include <ell/ell.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "src/shared/ad.h" #include "src/shared/mgmt.h"
mesh/mesh-mgmt.c +2 -2
@@ -16,8 +16,8 @@#include <ell/ell.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "src/shared/mgmt.h" #include "mesh/mesh-mgmt.h"
monitor/a2dp.c +1 -1
@@ -18,7 +18,7 @@#include <stdlib.h> #include <string.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "src/shared/util.h" #include "bt.h"
monitor/analyze.c +1 -1
@@ -19,7 +19,7 @@#include <sys/time.h> #include <unistd.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "src/shared/util.h" #include "src/shared/queue.h"
monitor/att.c +4 -4
@@ -27,10 +27,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "src/shared/util.h" #include "src/shared/queue.h"
monitor/avctp.c +2 -2
@@ -20,8 +20,8 @@#include <ctype.h> #include <inttypes.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "bt.h"
monitor/avdtp.c +1 -1
@@ -17,7 +17,7 @@#include <stdlib.h> #include <string.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "src/shared/util.h" #include "bt.h"
monitor/bnep.c +2 -2
@@ -20,8 +20,8 @@#include <ctype.h> #include <inttypes.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "bt.h"
monitor/control.c +3 -3
@@ -30,9 +30,9 @@#include <fcntl.h> #include <linux/filter.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/mgmt.h" #include "src/shared/util.h" #include "src/shared/btsnoop.h"
monitor/hcidump.c +3 -3
@@ -22,9 +22,9 @@#include <sys/ioctl.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "src/shared/mainloop.h"
monitor/intel.c +2 -2
@@ -17,8 +17,8 @@#include <stdio.h> #include <inttypes.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/util.h" #include "display.h"
monitor/l2cap.c +2 -2
@@ -19,8 +19,8 @@#include <string.h> #include <inttypes.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/queue.h"
monitor/msft.c +2 -2
@@ -30,8 +30,8 @@#include <stdio.h> #include <inttypes.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "display.h"
monitor/packet.c +4 -4
@@ -28,10 +28,10 @@#include <sys/socket.h> #include <limits.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "src/shared/util.h" #include "src/shared/btsnoop.h"
monitor/rfcomm.c +2 -2
@@ -20,8 +20,8 @@#include <ctype.h> #include <inttypes.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "bt.h"
monitor/sdp.c +2 -2
@@ -19,8 +19,8 @@#include <string.h> #include <inttypes.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h"
obexd/client/bluetooth.c +4 -4
@@ -18,10 +18,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/rfcomm.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/rfcomm.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "gdbus/gdbus.h" #include "btio/btio.h"
obexd/client/map.c +1 -1
@@ -21,7 +21,7 @@#include <glib.h> -#include "lib/sdp.h" +#include "bluetooth/sdp.h" #include "gobex/gobex-apparam.h" #include "gdbus/gdbus.h"
obexd/client/pbap.c +2 -2
@@ -20,8 +20,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" #include "gobex/gobex-apparam.h" #include "gdbus/gdbus.h"
obexd/plugins/bluetooth.c +2 -2
@@ -22,8 +22,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h"
obexd/plugins/syncevolution.c +1 -1
@@ -21,7 +21,7 @@#include <glib.h> #include <dbus/dbus.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "gdbus/gdbus.h"
peripheral/attach.c +3 -3
@@ -17,9 +17,9 @@#include <unistd.h> #include <sys/ioctl.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "tools/hciattach.h" #include "peripheral/attach.h"
peripheral/gap.c +2 -2
@@ -15,8 +15,8 @@#include <stdio.h> #include <string.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "src/shared/util.h" #include "src/shared/mgmt.h" #include "peripheral/gatt.h"
peripheral/gatt.c +3 -3
@@ -18,9 +18,9 @@#include <string.h> #include <sys/epoll.h> -#include "lib/bluetooth.h" -#include "lib/l2cap.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/uuid.h" #include "src/shared/mainloop.h" #include "src/shared/util.h" #include "src/shared/queue.h"
plugins/admin.c +2 -2
@@ -19,8 +19,8 @@#include <sys/stat.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/adapter.h" #include "src/dbus-common.h"
plugins/autopair.c +2 -2
@@ -20,8 +20,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" #include "src/plugin.h" #include "src/adapter.h"
plugins/hostname.c +2 -2
@@ -19,8 +19,8 @@#include <fcntl.h> #include <sys/utsname.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" #include "gdbus/gdbus.h"
plugins/neard.c +3 -3
@@ -16,9 +16,9 @@#include <stdlib.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/sdp.h" #include "gdbus/gdbus.h"
plugins/policy.c +4 -4
@@ -19,10 +19,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" +#include "bluetooth/mgmt.h" #include "src/log.h" #include "src/plugin.h"
plugins/sixaxis.c +3 -3
@@ -26,9 +26,9 @@#include <glib.h> #include <libudev.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/adapter.h" #include "src/device.h"
profiles/audio/a2dp.c +4 -4
@@ -24,10 +24,10 @@#include <dbus/dbus.h> #include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h"
profiles/audio/asha.c +3 -3
@@ -27,9 +27,9 @@#include "btio/btio.h" #include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/l2cap.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/uuid.h" #include "src/dbus-common.h" #include "src/adapter.h"
profiles/audio/avctp.c +4 -4
@@ -29,10 +29,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/l2cap.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/uuid.h" #include "btio/btio.h" #include "src/adapter.h"
profiles/audio/avdtp.c +4 -4
@@ -23,10 +23,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "btio/btio.h" #include "src/btd.h"
profiles/audio/avrcp.c +1 -1
@@ -33,7 +33,7 @@#include "bluetooth/bluetooth.h" #include "bluetooth/sdp.h" #include "bluetooth/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h"
profiles/audio/bap.c +5 -5
@@ -30,11 +30,11 @@#include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/sdp.h" -#include "lib/uuid.h" -#include "lib/iso.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" +#include "bluetooth/iso.h" #include "src/btd.h" #include "src/dbus-common.h"
profiles/audio/bass.c +3 -3
@@ -27,9 +27,9 @@#include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/uuid.h" -#include "lib/iso.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" +#include "bluetooth/iso.h" #include "src/dbus-common.h" #include "src/shared/util.h"
profiles/audio/ccp.c +4 -4
@@ -28,10 +28,10 @@#include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/dbus-common.h" #include "src/shared/util.h"
profiles/audio/control.c +4 -4
@@ -27,10 +27,10 @@#include <glib.h> #include <dbus/dbus.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h"
profiles/audio/csip.c +4 -4
@@ -27,10 +27,10 @@#include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/dbus-common.h" #include "src/shared/util.h"
profiles/audio/mcp.c +4 -4
@@ -27,10 +27,10 @@#include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/dbus-common.h" #include "src/shared/util.h"
profiles/audio/media.c +4 -4
@@ -31,10 +31,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" +#include "bluetooth/mgmt.h" #include "gdbus/gdbus.h"
profiles/audio/micp.c +4 -4
@@ -27,10 +27,10 @@#include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/dbus-common.h" #include "src/shared/util.h"
profiles/audio/sink.c +2 -2
@@ -20,8 +20,8 @@#include <glib.h> #include <dbus/dbus.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" #include "gdbus/gdbus.h"
profiles/audio/source.c +2 -2
@@ -21,8 +21,8 @@#include <glib.h> #include <dbus/dbus.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" #include "gdbus/gdbus.h"
profiles/audio/transport.c +3 -3
@@ -19,9 +19,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h" #include "btio/btio.h"
profiles/audio/vcp.c +4 -4
@@ -27,10 +27,10 @@#include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/dbus-common.h" #include "src/shared/util.h"
profiles/battery/bas.c +3 -3
@@ -19,9 +19,9 @@#include "src/log.h" -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/queue.h"
profiles/battery/battery.c +4 -4
@@ -23,10 +23,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/att.h"
profiles/cups/hcrp.c +4 -4
@@ -20,10 +20,10 @@#include <sys/socket.h> #include <netinet/in.h> -#include "lib/bluetooth.h" -#include "lib/l2cap.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "cups.h"
profiles/cups/main.c +3 -3
@@ -25,9 +25,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "gdbus/gdbus.h"
profiles/cups/sdp.c +3 -3
@@ -18,9 +18,9 @@#include <signal.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "cups.h"
profiles/cups/spp.c +4 -4
@@ -18,10 +18,10 @@#include <signal.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/rfcomm.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/rfcomm.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "cups.h"
profiles/deviceinfo/deviceinfo.c +3 -3
@@ -17,9 +17,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/plugin.h" #include "src/adapter.h"
profiles/deviceinfo/dis.c +3 -3
@@ -18,9 +18,9 @@#include "src/log.h" -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/queue.h"
profiles/gap/gas.c +4 -4
@@ -23,10 +23,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/att.h"
profiles/health/hdp.c +3 -3
@@ -19,9 +19,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/l2cap.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/sdp.h" #include "gdbus/gdbus.h"
profiles/health/hdp_manager.c +3 -3
@@ -13,9 +13,9 @@#include <stdbool.h> -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "btio/btio.h" #include "src/adapter.h"
profiles/health/hdp_util.c +4 -4
@@ -17,10 +17,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h"
profiles/health/mcap.c +1 -1
@@ -22,7 +22,7 @@#include <glib.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "bluetooth/l2cap.h" #include "btio/btio.h" #include "src/log.h"
profiles/input/device.c +5 -5
@@ -22,11 +22,11 @@#include <sys/ioctl.h> #include <sys/uio.h> -#include "lib/bluetooth.h" -#include "lib/hidp.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hidp.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h"
profiles/input/hog-lib.c +3 -3
@@ -27,9 +27,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/uhid.h"
profiles/input/hog.c +3 -3
@@ -24,9 +24,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/log.h" #include "src/adapter.h"
profiles/input/manager.c +4 -4
@@ -16,10 +16,10 @@#include <stdbool.h> #include <stdlib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "src/log.h" #include "src/plugin.h"
profiles/input/server.c +3 -3
@@ -19,9 +19,9 @@#include <glib.h> #include <dbus/dbus.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/log.h" #include "src/uuid-helper.h"
profiles/midi/midi.c +3 -3
@@ -15,9 +15,9 @@#include <errno.h> #include <alsa/asoundlib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/plugin.h" #include "src/adapter.h"
profiles/network/bnep.c +4 -4
@@ -26,10 +26,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/l2cap.h" -#include "lib/bnep.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/bnep.h" +#include "bluetooth/uuid.h" #include "src/log.h" #include "src/shared/timeout.h"
profiles/network/connection.c +4 -4
@@ -21,9 +21,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/bnep.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/bnep.h" +#include "bluetooth/sdp.h" #include "gdbus/gdbus.h"
@@ -35,7 +35,7 @@#include "src/profile.h" #include "src/service.h" #include "src/error.h" -#include "lib/uuid.h" +#include "bluetooth/uuid.h" #include "bnep.h" #include "connection.h"
profiles/network/manager.c +4 -4
@@ -17,10 +17,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/bnep.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/bnep.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/log.h" #include "src/plugin.h"
profiles/network/server.c +5 -5
@@ -21,11 +21,11 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/bnep.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/bnep.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h"
profiles/sap/manager.c +2 -2
@@ -12,8 +12,8 @@#include <stdbool.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" #include "src/log.h" #include "src/adapter.h"
profiles/sap/server.c +3 -3
@@ -19,9 +19,9 @@#include <errno.h> #include <glib.h> -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h"
profiles/scanparam/scan.c +3 -3
@@ -16,9 +16,9 @@#include <stdbool.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/log.h" #include "src/plugin.h"
profiles/scanparam/scpp.c +3 -3
@@ -20,9 +20,9 @@#include "src/log.h" -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/queue.h"
src/adapter.c +2 -2
@@ -34,8 +34,8 @@#include "bluetooth/hci_lib.h" #include "bluetooth/sdp.h" #include "bluetooth/sdp_lib.h" -#include "lib/uuid.h" -#include "lib/mgmt.h" +#include "bluetooth/uuid.h" +#include "bluetooth/mgmt.h" #include "gdbus/gdbus.h"
src/adapter.h +2 -2
@@ -13,8 +13,8 @@#include <dbus/dbus.h> #include <glib.h> -#include <lib/bluetooth.h> -#include <lib/sdp.h> +#include <bluetooth/bluetooth.h> +#include <bluetooth/sdp.h> #define ADAPTER_INTERFACE "org.bluez.Adapter1"
src/adv_monitor.c +2 -2
@@ -21,8 +21,8 @@#include <dbus/dbus.h> #include <gdbus/gdbus.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "adapter.h" #include "btd.h"
src/advertising.c +3 -3
@@ -20,9 +20,9 @@#include <dbus/dbus.h> #include <gdbus/gdbus.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" +#include "bluetooth/sdp.h" #include "adapter.h" #include "dbus-common.h"
src/agent.c +2 -2
@@ -23,8 +23,8 @@#include <glib.h> #include <dbus/dbus.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" #include "gdbus/gdbus.h"
src/battery.c +1 -1
@@ -18,7 +18,7 @@#include <glib.h> #include "gdbus/gdbus.h" -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "src/shared/queue.h" #include "src/shared/util.h" #include "battery.h"
src/bearer.c +2 -2
@@ -23,8 +23,8 @@#include <glib.h> #include <dbus/dbus.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "gdbus/gdbus.h" #include "src/shared/util.h"
src/device.c +5 -5
@@ -28,10 +28,10 @@#include <glib.h> #include <dbus/dbus.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h"
@@ -45,7 +45,7 @@#include "src/shared/ad.h" #include "src/shared/timeout.h" #include "btio/btio.h" -#include "lib/mgmt.h" +#include "bluetooth/mgmt.h" #include "attrib/att.h" #include "btd.h" #include "adapter.h"
src/eir.c +3 -3
@@ -21,9 +21,9 @@#include <stdbool.h> #include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/sdp.h" #include "src/shared/util.h" #include "uuid-helper.h"
src/eir.h +2 -2
@@ -11,8 +11,8 @@#include <glib.h> -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #define EIR_FLAGS 0x01/* flags */ #define EIR_UUID16_SOME 0x02/* 16-bit UUID, more available */
src/gatt-client.c +3 -3
@@ -21,9 +21,9 @@#include <dbus/dbus.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h" #include "btio/btio.h"
src/gatt-database.c +5 -5
@@ -18,11 +18,11 @@#include <unistd.h> #include <limits.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" +#include "bluetooth/mgmt.h" #include "btio/btio.h" #include "gdbus/gdbus.h" #include "src/shared/util.h"
src/log.c +2 -2
@@ -25,8 +25,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/util.h" #include "src/shared/log.h"
src/main.c +3 -3
@@ -31,8 +31,8 @@#include <dbus/dbus.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" #include "gdbus/gdbus.h" #include "btio/btio.h"
@@ -45,7 +45,7 @@#include "shared/timeout.h" #include "shared/queue.h" #include "shared/crypto.h" -#include "lib/uuid.h" +#include "bluetooth/uuid.h" #include "shared/util.h" #include "btd.h" #include "sdpd.h"
src/oui.c +1 -1
@@ -13,7 +13,7 @@#endif #define _GNU_SOURCE -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "oui.h" #ifdef HAVE_UDEV
src/plugin.c +1 -1
@@ -19,7 +19,7 @@#include <glib.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "btio/btio.h" #include "src/plugin.h"
src/profile.c +4 -4
@@ -21,10 +21,10 @@#include <glib.h> #include <dbus/dbus.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h"
src/rfkill.c +2 -2
@@ -24,8 +24,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" #include "log.h" #include "adapter.h"
src/sdp-client.c +3 -3
@@ -16,9 +16,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "btio/btio.h" #include "shared/timeout.h"
src/sdp-xml.c +2 -2
@@ -22,8 +22,8 @@#include <glib.h> -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "sdp-xml.h"
src/sdpd-database.c +3 -3
@@ -18,9 +18,9 @@#include <stdlib.h> #include <stdbool.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "sdpd.h" #include "log.h"
src/sdpd-request.c +4 -4
@@ -20,10 +20,10 @@#include <limits.h> #include <stdbool.h> -#include "lib/bluetooth.h" -#include "lib/l2cap.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "src/shared/util.h"
src/sdpd-server.c +4 -4
@@ -25,10 +25,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/l2cap.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "log.h" #include "sdpd.h"
src/sdpd-service.c +3 -3
@@ -23,9 +23,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "src/shared/util.h" #include "sdpd.h"
src/service.c +2 -2
@@ -23,8 +23,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" #include "log.h" #include "backtrace.h"
src/settings.c +2 -2
@@ -16,8 +16,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "log.h" #include "src/shared/queue.h"
src/shared/ad.c +2 -2
@@ -16,8 +16,8 @@#include <ctype.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/ad.h"
src/shared/ad.h +2 -2
@@ -11,8 +11,8 @@#include <inttypes.h> #include <stdbool.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #define BT_AD_MAX_DATA_LEN 31#define BT_EA_MAX_DATA_LEN 251
src/shared/asha.c +2 -2
@@ -19,8 +19,8 @@#include <stdlib.h> #include <string.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/att.h"
src/shared/att.c +3 -3
@@ -20,9 +20,9 @@#include "src/shared/queue.h" #include "src/shared/util.h" #include "src/shared/timeout.h" -#include "lib/bluetooth.h" -#include "lib/l2cap.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/uuid.h" #include "src/shared/att.h" #include "src/shared/crypto.h"
src/shared/bap.c +2 -2
@@ -16,8 +16,8 @@#include <unistd.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/io.h" #include "src/shared/queue.h"
src/shared/bass.c +2 -2
@@ -15,8 +15,8 @@#include <unistd.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/queue.h" #include "src/shared/util.h"
src/shared/btp.c +1 -1
@@ -16,7 +16,7 @@#include <ell/ell.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "src/shared/btp.h" #define BTP_MTU 512
src/shared/ccp.c +3 -3
@@ -15,9 +15,9 @@#include <unistd.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" +#include "bluetooth/hci.h" #include "src/shared/queue.h" #include "src/shared/util.h"
src/shared/csip.c +2 -2
@@ -17,8 +17,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/queue.h" #include "src/shared/util.h"
src/shared/gap.c +2 -2
@@ -15,8 +15,8 @@#include <stdio.h> #include <stdlib.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "src/shared/util.h" #include "src/shared/queue.h"
src/shared/gatt-client.c +2 -2
@@ -13,8 +13,8 @@#endif #include "src/shared/att.h" -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/gatt-helpers.h" #include "src/shared/util.h" #include "src/shared/queue.h"
src/shared/gatt-db.c +2 -2
@@ -15,8 +15,8 @@#include <stdbool.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/queue.h" #include "src/shared/timeout.h"
src/shared/gatt-helpers.c +2 -2
@@ -15,8 +15,8 @@#include "src/shared/queue.h" #include "src/shared/att.h" -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/gatt-helpers.h" #include "src/shared/util.h"
src/shared/gatt-server.c +2 -2
@@ -17,8 +17,8 @@#include <errno.h> #include "src/shared/att.h" -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/queue.h" #include "src/shared/gatt-db.h" #include "src/shared/gatt-server.h"
src/shared/log.c +2 -2
@@ -23,8 +23,8 @@#include <signal.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/util.h" #include "src/shared/log.h"
src/shared/mcp.c +3 -3
@@ -15,9 +15,9 @@#include <unistd.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" +#include "bluetooth/hci.h" #include "src/shared/queue.h" #include "src/shared/util.h"
src/shared/mgmt.c +3 -3
@@ -17,9 +17,9 @@#include <string.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" +#include "bluetooth/hci.h" #include "src/shared/io.h" #include "src/shared/queue.h"
src/shared/micp.c +2 -2
@@ -14,8 +14,8 @@#include <unistd.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/queue.h" #include "src/shared/util.h"
src/shared/tester.c +2 -2
@@ -25,8 +25,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #ifdef HAVE_VALGRIND_MEMCHECK_H #include <valgrind/memcheck.h>
src/shared/util.c +1 -1
@@ -29,7 +29,7 @@#include <sys/random.h> #endif -#include <lib/bluetooth.h> +#include <bluetooth/bluetooth.h> /* define MAX_INPUT for musl */ #ifndef MAX_INPUT
src/shared/vcp.c +2 -2
@@ -15,8 +15,8 @@#include <unistd.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/queue.h" #include "src/shared/util.h"
src/storage.c +4 -4
@@ -27,10 +27,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "textfile.h" #include "uuid-helper.h"
src/uuid-helper.c +3 -3
@@ -19,9 +19,9 @@#include <errno.h> #include <arpa/inet.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "uuid-helper.h"
tools/advtest.c +2 -2
@@ -22,8 +22,8 @@#include <getopt.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "monitor/bt.h" #include "src/shared/mainloop.h"
tools/avinfo.c +4 -4
@@ -27,10 +27,10 @@#include <sys/ioctl.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/l2cap.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/l2cap.h" #include "profiles/audio/a2dp-codecs.h"
tools/avtest.c +5 -5
@@ -22,11 +22,11 @@#include <sys/socket.h> #include <netinet/in.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/l2cap.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/sdp.h" #define AVDTP_PKT_TYPE_SINGLE 0x00#define AVDTP_PKT_TYPE_START 0x01
tools/bdaddr.c +3 -3
@@ -20,9 +20,9 @@#include <sys/ioctl.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "src/oui.h"
tools/bluetooth-player.c +2 -2
@@ -26,8 +26,8 @@#include <glib.h> #include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/shell.h"
tools/bnep-tester.c +3 -3
@@ -20,9 +20,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/bnep.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/bnep.h" +#include "bluetooth/mgmt.h" #include "monitor/bt.h" #include "emulator/bthost.h"
tools/bneptest.c +4 -4
@@ -28,14 +28,14 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "src/log.h" #include "src/shared/util.h" #include "btio/btio.h" -#include "lib/bnep.h" +#include "bluetooth/bnep.h" #include "profiles/network/bnep.h" enum {
tools/btattach.c +3 -3
@@ -25,9 +25,9 @@#include <sys/ioctl.h> #include <poll.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "hciattach.h" #include "monitor/bt.h"
tools/btgatt-client.c +5 -5
@@ -21,11 +21,11 @@#include <limits.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/l2cap.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/uuid.h" #include "src/shared/mainloop.h" #include "src/shared/util.h"
tools/btgatt-server.c +5 -5
@@ -21,11 +21,11 @@#include <unistd.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/l2cap.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/uuid.h" #include "src/shared/mainloop.h" #include "src/shared/util.h"
tools/btiotest.c +1 -1
@@ -23,7 +23,7 @@#include <glib.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "btio/btio.h"
tools/btmon-logger.c +2 -2
@@ -29,8 +29,8 @@#include <linux/capability.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/util.h" #include "src/shared/mainloop.h"
tools/btpclient.c +1 -1
@@ -21,7 +21,7 @@#include <ell/ell.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "src/shared/btp.h" #define AD_PATH "/org/bluez/advertising"
tools/btpclientctl.c +1 -1
@@ -22,7 +22,7 @@#include <fcntl.h> #include <poll.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "src/shared/ad.h" #include "src/shared/btp.h"
tools/ciptool.c +7 -7
@@ -24,13 +24,13 @@#include <sys/ioctl.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/l2cap.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/cmtp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/cmtp.h" static volatile sig_atomic_t __io_canceled =0 ;
tools/cltest.c +4 -4
@@ -23,10 +23,10 @@#include <sys/ioctl.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/l2cap.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/l2cap.h" #include "src/shared/mainloop.h"
tools/hciattach.c +3 -3
@@ -31,9 +31,9 @@#include <sys/param.h> #include <sys/ioctl.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "src/shared/tty.h"
tools/hciattach_ath3k.c +3 -3
@@ -23,9 +23,9 @@#include <sys/param.h> #include <sys/ioctl.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "hciattach.h"
tools/hciattach_bcm43xx.c +3 -3
@@ -24,9 +24,9 @@#include <time.h> #include <limits.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "hciattach.h"
tools/hciattach_intel.c +3 -3
@@ -24,9 +24,9 @@#include <sys/ioctl.h> #include <time.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "hciattach.h"
tools/hciattach_qualcomm.c +3 -3
@@ -30,9 +30,9 @@#include <sys/ioctl.h> #include <sys/uio.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "hciattach.h"
tools/hciattach_st.c +1 -1
@@ -23,7 +23,7 @@#include <dirent.h> #include <sys/param.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "hciattach.h"
tools/hciattach_ti.c +3 -3
@@ -26,9 +26,9 @@#include <sys/param.h> #include <sys/ioctl.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "hciattach.h"
tools/hciattach_tialt.c +3 -3
@@ -29,9 +29,9 @@#include <sys/ioctl.h> #include <sys/uio.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "hciattach.h"
tools/hciconfig.c +3 -3
@@ -27,9 +27,9 @@#include <sys/socket.h> #include <sys/stat.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "src/textfile.h" #include "src/shared/util.h"
tools/hcidump.c +2 -2
@@ -30,8 +30,8 @@#include "parser/parser.h" #include "parser/sdp.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #define SNAP_LEN HCI_MAX_FRAME_SIZE
tools/hcieventmask.c +3 -3
@@ -18,9 +18,9 @@#include <getopt.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" static struct option main_options[] = { {"device" ,1 ,0 ,'i' },
tools/hcisecfilter.c +3 -3
@@ -16,9 +16,9 @@#include <stdio.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" int main (int argc,char *argv[]) {
tools/hcitool.c +3 -3
@@ -28,9 +28,9 @@#include <sys/socket.h> #include <signal.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "src/oui.h"
tools/hwdb.c +1 -1
@@ -14,7 +14,7 @@#include <stdio.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" static const struct { uint16_t vendor;
tools/ioctl-tester.c +4 -4
@@ -22,10 +22,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "monitor/bt.h" #include "emulator/bthost.h"
tools/iso-tester.c +4 -4
@@ -24,10 +24,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/iso.h" -#include "lib/mgmt.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/iso.h" +#include "bluetooth/mgmt.h" +#include "bluetooth/uuid.h" #include "monitor/bt.h" #include "emulator/vhci.h"
tools/isotest.c +5 -5
@@ -35,11 +35,11 @@#include <sys/wait.h> #include <poll.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/mgmt.h" -#include "lib/iso.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/mgmt.h" +#include "bluetooth/iso.h" #include "src/shared/util.h"
tools/l2cap-tester.c +3 -3
@@ -20,9 +20,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/l2cap.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/mgmt.h" #include "monitor/bt.h" #include "emulator/bthost.h"
tools/l2ping.c +4 -4
@@ -26,10 +26,10 @@#include <poll.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/l2cap.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/l2cap.h" /* Defaults */ static bdaddr_t bdaddr;
tools/l2test.c +4 -4
@@ -30,10 +30,10 @@#include <sys/ioctl.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/l2cap.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/l2cap.h" #include "src/shared/util.h" #include "monitor/display.h"
tools/mcaptest.c +4 -4
@@ -20,12 +20,12 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "btio/btio.h" -#include "lib/l2cap.h" +#include "bluetooth/l2cap.h" #include "profiles/health/mcap.h" enum {
tools/mesh-gatt/gatt.c +2 -2
@@ -26,8 +26,8 @@#include "src/shared/shell.h" #include "src/shared/util.h" #include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "tools/mesh-gatt/node.h" #include "tools/mesh-gatt/util.h"
tools/mesh-tester.c +5 -5
@@ -23,11 +23,11 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/mgmt.h" -#include "lib/l2cap.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/mgmt.h" +#include "bluetooth/l2cap.h" #include "monitor/bt.h" #include "emulator/vhci.h"
tools/mesh/agent.c +1 -1
@@ -17,7 +17,7 @@#include <stdbool.h> #include <inttypes.h> -#include <lib/bluetooth.h> +#include <bluetooth/bluetooth.h> #include "src/shared/shell.h" #include "tools/mesh/agent.h"
tools/meshctl.c +2 -2
@@ -29,8 +29,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/shell.h" #include "src/shared/util.h" #include "gdbus/gdbus.h"
tools/mgmt-tester.c +5 -5
@@ -24,11 +24,11 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/mgmt.h" -#include "lib/l2cap.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/mgmt.h" +#include "bluetooth/l2cap.h" #include "monitor/bt.h" #include "emulator/vhci.h"
tools/oobtest.c +2 -2
@@ -15,8 +15,8 @@#include <getopt.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "src/shared/mainloop.h" #include "src/shared/util.h"
tools/parser/hci.c +2 -2
@@ -22,8 +22,8 @@#include <string.h> #include "parser.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" static uint16_t manufacturer =DEFAULT_COMPID ;
tools/parser/l2cap.c +1 -1
@@ -24,7 +24,7 @@#include "parser.h" #include "sdp.h" #include "l2cap.h" -#include "lib/hci.h" +#include "bluetooth/hci.h" typedef struct { uint16_t handle;
tools/parser/lmp.c +2 -2
@@ -19,8 +19,8 @@#include <sys/socket.h> #include "parser.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #define LMP_U8 (frm) (p_get_u8(frm))#define LMP_U16 (frm) (btohs(htons(p_get_u16(frm))))
tools/parser/parser.h +1 -1
@@ -16,7 +16,7 @@#include <sys/time.h> #include <netinet/in.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "src/shared/util.h" struct frame {
tools/rctest.c +6 -6
@@ -28,12 +28,12 @@#include <sys/socket.h> #include <sys/stat.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/rfcomm.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/rfcomm.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "src/shared/util.h"
tools/rfcomm-tester.c +3 -3
@@ -20,9 +20,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/rfcomm.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/rfcomm.h" +#include "bluetooth/mgmt.h" #include "monitor/bt.h" #include "emulator/bthost.h"
tools/rfcomm.c +4 -4
@@ -28,10 +28,10 @@#include <sys/socket.h> #include <sys/wait.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/rfcomm.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/rfcomm.h" static int rfcomm_raw_tty =0 ;static int auth =0 ;
tools/sco-tester.c +3 -3
@@ -19,9 +19,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sco.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sco.h" +#include "bluetooth/mgmt.h" #include "monitor/bt.h" #include "emulator/bthost.h"
tools/scotest.c +2 -2
@@ -25,8 +25,8 @@#include <sys/time.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/sco.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sco.h" #include "src/shared/util.h"
tools/sdptool.c +5 -5
@@ -26,11 +26,11 @@#include <sys/socket.h> #include <netinet/in.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "src/sdp-xml.h"
tools/smp-tester.c +3 -3
@@ -20,9 +20,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/mgmt.h" #include "monitor/bt.h" #include "emulator/bthost.h"
tools/test-runner.c +3 -3
@@ -31,9 +31,9 @@#include <sys/param.h> #include <sys/reboot.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "tools/hciattach.h" #ifndef WAIT_ANY
tools/userchan-tester.c +3 -3
@@ -20,9 +20,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/mgmt.h" #include "monitor/bt.h" #include "emulator/bthost.h"
unit/avctp.c +1 -1
@@ -30,7 +30,7 @@#include <glib.h> -#include "lib/sdp.h" +#include "bluetooth/sdp.h" #include "src/shared/util.h" #include "src/log.h" #include "avctp.h"
unit/avdtp.c +1 -1
@@ -26,7 +26,7 @@#include <glib.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "src/log.h" #include "src/shared/util.h" #include "src/shared/queue.h"
unit/avrcp-lib.c +1 -1
@@ -18,7 +18,7 @@#include <errno.h> #include <string.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "src/shared/util.h" #include "src/log.h"
unit/avrcp.c +3 -3
@@ -18,9 +18,9 @@#include <glib.h> #include "btio/btio.h" -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "src/sdp-client.h" #include "src/shared/util.h" #include "src/log.h"
unit/test-avrcp.c +1 -1
@@ -26,7 +26,7 @@#include "src/shared/util.h" #include "src/shared/tester.h" #include "src/log.h" -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "unit/avctp.h" #include "unit/avrcp-lib.h"
unit/test-bap.c +2 -2
@@ -21,8 +21,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/io.h" #include "src/shared/tester.h"
unit/test-bass.c +2 -2
@@ -20,8 +20,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/io.h" #include "src/shared/tester.h"
unit/test-eir.c +3 -3
@@ -16,9 +16,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/sdp.h" #include "src/shared/tester.h" #include "src/shared/util.h" #include "src/shared/ad.h"
unit/test-gatt.c +2 -2
@@ -22,8 +22,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/att.h" #include "src/shared/gatt-helpers.h"
unit/test-gattrib.c +2 -2
@@ -23,8 +23,8 @@#include <glib.h> #include "src/shared/util.h" -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "attrib/att.h" #include "attrib/gattrib.h" #include "src/log.h"
unit/test-hog.c +2 -2
@@ -20,8 +20,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/tester.h"
unit/test-lib.c +2 -2
@@ -21,8 +21,8 @@#include "src/shared/util.h" #include "src/shared/tester.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" static void test_ntoh64 (const void *data) {
unit/test-mgmt.c +2 -2
@@ -18,8 +18,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "src/shared/mgmt.h"
unit/test-micp.c +2 -2
@@ -20,8 +20,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/tester.h" #include "src/shared/queue.h"
unit/test-sdp.c +3 -3
@@ -20,9 +20,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "src/shared/util.h" #include "src/shared/tester.h"
unit/test-uuid.c +2 -2
@@ -14,8 +14,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/tester.h" struct uuid_test_data {
unit/test-vcp.c +2 -2
@@ -20,8 +20,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/tester.h" #include "src/shared/queue.h"
Signature · 1 line
2.50.0
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=989173
---Test result---
Test Summary:
CheckPatch PENDING 0.37 seconds GitLint PENDING 0.49 seconds BuildEll PASS 20.71 seconds BluezMake PASS 2791.66 seconds MakeCheck PASS 19.96 seconds MakeDistcheck PASS 183.00 seconds CheckValgrind PASS 233.53 seconds CheckSmatch WARNING 304.41 seconds bluezmakeextell PASS 127.26 seconds IncrementalBuild PENDING 0.42 seconds ScanBuild PASS 909.64 seconds
Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script Output:
##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:
##############################
Test: CheckSmatch - WARNING
Desc: Run smatch tool with source
Output:attrib/gatttool.c:235:23: warning: Variable length array is used.attrib/interactive.c: note: in included file (through /usr/include/readline/readline.h):attrib/interactive.c:174:27: warning: non-ANSI function declaration of function 'disconnect_io'attrib/interactive.c:299:23: warning: Variable length array is used.emulator/btdev.c:456:29: warning: Variable length array is used.emulator/bthost.c:678:28: warning: Variable length array is used.emulator/bthost.c:679:32: warning: Variable length array is used.emulator/bthost.c:896:28: warning: Variable length array is used.emulator/bthost.c:930:28: warning: Variable length array is used.emulator/bthost.c:931:32: warning: Variable length array is used.mesh/mesh-io-mgmt.c:525:67: warning: Variable length array is used.monitor/att.c: note: in included file:monitor/display.h:82:26: warning: Variable length array is used.monitor/l2cap.c: note: in included file:monitor/display.h:82:26: warning: Variable length array is used.monitor/msft.c: note: in included file:monitor/msft.h:88:44: warning: array of flexible structuresmonitor/packet.c: note: in included file:monitor/display.h:82:26: warning: Variable length array is used.monitor/packet.c:1918:26: warning: Variable length array is used.monitor/packet.c: note: in included file:monitor/bt.h:3822:52: warning: array of flexible structuresmonitor/bt.h:3810:40: warning: array of flexible structuresprofiles/sap/server.c: note: in included file:profiles/sap/sap.h:77:35: warning: array of flexible structuressrc/shared/bap.c:317:25: warning: array of flexible structuressrc/shared/bap.c: note: in included file:./src/shared/ascs.h:88:25: warning: array of flexible structuressrc/shared/bap.c:317:25: warning: array of flexible structuressrc/shared/bap.c: note: in included file:./src/shared/ascs.h:88:25: warning: array of flexible structuressrc/shared/bap.c:317:25: warning: array of flexible structuressrc/shared/bap.c: note: in included file:./src/shared/ascs.h:88:25: warning: array of flexible structuressrc/shared/gatt-helpers.c:768:31: warning: Variable length array is used.src/shared/gatt-helpers.c:830:31: warning: Variable length array is used.src/shared/gatt-helpers.c:1323:31: warning: Variable length array is used.src/shared/gatt-helpers.c:1354:23: warning: Variable length array is used.src/shared/gatt-helpers.c:768:31: warning: Variable length array is used.src/shared/gatt-helpers.c:830:31: warning: Variable length array is used.src/shared/gatt-helpers.c:1323:31: warning: Variable length array is used.src/shared/gatt-helpers.c:1354:23: warning: Variable length array is used.src/shared/gatt-helpers.c:768:31: warning: Variable length array is used.src/shared/gatt-helpers.c:830:31: warning: Variable length array is used.src/shared/gatt-helpers.c:1323:31: warning: Variable length array is used.src/shared/gatt-helpers.c:1354:23: warning: Variable length array is used.src/shared/gatt-server.c:278:25: warning: Variable length array is used.src/shared/gatt-server.c:618:25: warning: Variable length array is used.src/shared/gatt-server.c:716:25: warning: Variable length array is used.src/shared/gatt-server.c:278:25: warning: Variable length array is used.src/shared/gatt-server.c:618:25: warning: Variable length array is used.src/shared/gatt-server.c:716:25: warning: Variable length array is used.src/shared/gatt-server.c:278:25: warning: Variable length array is used.src/shared/gatt-server.c:618:25: warning: Variable length array is used.src/shared/gatt-server.c:716:25: warning: Variable length array is used.tools/bneptest.c:634:39: warning: unknown escape sequence: '\%'tools/meshctl.c:324:33: warning: non-ANSI function declaration of function 'forget_mesh_devices'tools/rctest.c:631:33: warning: non-ANSI function declaration of function 'automated_send_recv'tools/sco-tester.c: note: in included file:./lib/bluetooth/bluetooth.h:232:15: warning: array of flexible structures./lib/bluetooth/bluetooth.h:237:31: warning: array of flexible structuresunit/avctp.c:505:34: warning: Variable length array is used.unit/avctp.c:556:34: warning: Variable length array is used.unit/avrcp-lib.c:1085:34: warning: Variable length array is used.unit/avrcp-lib.c:1583:34: warning: Variable length array is used.unit/avrcp-lib.c:1612:34: warning: Variable length array is used.unit/avrcp-lib.c:1638:34: warning: Variable length array is used.unit/test-avrcp.c:373:26: warning: Variable length array is used.unit/test-avrcp.c:398:26: warning: Variable length array is used.unit/test-avrcp.c:414:24: warning: Variable length array is used.client/display.c: note: in included file (through /usr/include/readline/readline.h):
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:
---
Regards,
Linux Bluetooth
Luiz Augusto von Dentz
maintainerRe: [PATCH BlueZ v2 1/3] build: Move library source to lib/bluetooth
In reply to Bastien NoceraHi Bastien,
Quoted 3 lines · Bastien Nocera
This fixes the installed directory hierarchy not matching the source directory hierarchy.
Ok, but why do we need to do such a change? Doesn't meson handle installing in a different directory? If it doesn't you can probably state it or point to the documentation.
Quoted 4,064 lines
--- .gitignore | 1 - Makefile.am | 25 ++++++++----------------- attrib/att.c | 4 ++-- attrib/gatt.c | 6 +++--- attrib/gattrib.c | 4 ++-- attrib/gatttool.c | 10 +++++----- attrib/interactive.c | 6 +++--- attrib/utils.c | 10 +++++----- btio/btio.c | 10 +++++----- client/assistant.c | 4 ++-- client/mgmt.c | 14 +++++++------- client/player.c | 6 +++--- emulator/b1ee.c | 4 ++-- emulator/btdev.c | 4 ++-- emulator/bthost.c | 2 +- emulator/bthost.h | 2 +- emulator/hciemu.c | 4 ++-- emulator/le.c | 4 ++-- emulator/serial.c | 4 ++-- emulator/server.c | 4 ++-- emulator/smp.c | 4 ++-- emulator/vhci.c | 4 ++-- lib/{ => bluetooth}/bluetooth.c | 0 lib/{ => bluetooth}/bluetooth.h | 0 lib/{ => bluetooth}/bnep.h | 0 lib/{ => bluetooth}/cmtp.h | 0 lib/{ => bluetooth}/hci.c | 0 lib/{ => bluetooth}/hci.h | 0 lib/{ => bluetooth}/hci_lib.h | 0 lib/{ => bluetooth}/hidp.h | 0 lib/{ => bluetooth}/iso.h | 0 lib/{ => bluetooth}/l2cap.h | 0 lib/{ => bluetooth}/mgmt.h | 0 lib/{ => bluetooth}/rfcomm.h | 0 lib/{ => bluetooth}/sco.h | 0 lib/{ => bluetooth}/sdp.c | 0 lib/{ => bluetooth}/sdp.h | 0 lib/{ => bluetooth}/sdp_lib.h | 0 lib/{ => bluetooth}/uuid.c | 2 +- lib/{ => bluetooth}/uuid.h | 0 mesh/main.c | 4 ++-- mesh/mesh-io-generic.c | 4 ++-- mesh/mesh-io-mgmt.c | 6 +++--- mesh/mesh-io.c | 4 ++-- mesh/mesh-mgmt.c | 4 ++-- monitor/a2dp.c | 2 +- monitor/analyze.c | 2 +- monitor/att.c | 8 ++++---- monitor/avctp.c | 4 ++-- monitor/avdtp.c | 2 +- monitor/bnep.c | 4 ++-- monitor/control.c | 6 +++--- monitor/hcidump.c | 6 +++--- monitor/intel.c | 4 ++-- monitor/l2cap.c | 4 ++-- monitor/msft.c | 4 ++-- monitor/packet.c | 8 ++++---- monitor/rfcomm.c | 4 ++-- monitor/sdp.c | 4 ++-- obexd/client/bluetooth.c | 8 ++++---- obexd/client/map.c | 2 +- obexd/client/pbap.c | 4 ++-- obexd/plugins/bluetooth.c | 4 ++-- obexd/plugins/syncevolution.c | 2 +- peripheral/attach.c | 6 +++--- peripheral/gap.c | 4 ++-- peripheral/gatt.c | 6 +++--- plugins/admin.c | 4 ++-- plugins/autopair.c | 4 ++-- plugins/hostname.c | 4 ++-- plugins/neard.c | 6 +++--- plugins/policy.c | 8 ++++---- plugins/sixaxis.c | 6 +++--- profiles/audio/a2dp.c | 8 ++++---- profiles/audio/asha.c | 6 +++--- profiles/audio/avctp.c | 8 ++++---- profiles/audio/avdtp.c | 8 ++++---- profiles/audio/avrcp.c | 2 +- profiles/audio/bap.c | 10 +++++----- profiles/audio/bass.c | 6 +++--- profiles/audio/ccp.c | 8 ++++---- profiles/audio/control.c | 8 ++++---- profiles/audio/csip.c | 8 ++++---- profiles/audio/mcp.c | 8 ++++---- profiles/audio/media.c | 8 ++++---- profiles/audio/micp.c | 8 ++++---- profiles/audio/sink.c | 4 ++-- profiles/audio/source.c | 4 ++-- profiles/audio/transport.c | 6 +++--- profiles/audio/vcp.c | 8 ++++---- profiles/battery/bas.c | 6 +++--- profiles/battery/battery.c | 8 ++++---- profiles/cups/hcrp.c | 8 ++++---- profiles/cups/main.c | 6 +++--- profiles/cups/sdp.c | 6 +++--- profiles/cups/spp.c | 8 ++++---- profiles/deviceinfo/deviceinfo.c | 6 +++--- profiles/deviceinfo/dis.c | 6 +++--- profiles/gap/gas.c | 8 ++++---- profiles/health/hdp.c | 6 +++--- profiles/health/hdp_manager.c | 6 +++--- profiles/health/hdp_util.c | 8 ++++---- profiles/health/mcap.c | 2 +- profiles/input/device.c | 10 +++++----- profiles/input/hog-lib.c | 6 +++--- profiles/input/hog.c | 6 +++--- profiles/input/manager.c | 8 ++++---- profiles/input/server.c | 6 +++--- profiles/midi/midi.c | 6 +++--- profiles/network/bnep.c | 8 ++++---- profiles/network/connection.c | 8 ++++---- profiles/network/manager.c | 8 ++++---- profiles/network/server.c | 10 +++++----- profiles/sap/manager.c | 4 ++-- profiles/sap/server.c | 6 +++--- profiles/scanparam/scan.c | 6 +++--- profiles/scanparam/scpp.c | 6 +++--- src/adapter.c | 4 ++-- src/adapter.h | 4 ++-- src/adv_monitor.c | 4 ++-- src/advertising.c | 6 +++--- src/agent.c | 4 ++-- src/battery.c | 2 +- src/bearer.c | 4 ++-- src/device.c | 10 +++++----- src/eir.c | 6 +++--- src/eir.h | 4 ++-- src/gatt-client.c | 6 +++--- src/gatt-database.c | 10 +++++----- src/log.c | 4 ++-- src/main.c | 6 +++--- src/oui.c | 2 +- src/plugin.c | 2 +- src/profile.c | 8 ++++---- src/rfkill.c | 4 ++-- src/sdp-client.c | 6 +++--- src/sdp-xml.c | 4 ++-- src/sdpd-database.c | 6 +++--- src/sdpd-request.c | 8 ++++---- src/sdpd-server.c | 8 ++++---- src/sdpd-service.c | 6 +++--- src/service.c | 4 ++-- src/settings.c | 4 ++-- src/shared/ad.c | 4 ++-- src/shared/ad.h | 4 ++-- src/shared/asha.c | 4 ++-- src/shared/att.c | 6 +++--- src/shared/bap.c | 4 ++-- src/shared/bass.c | 4 ++-- src/shared/btp.c | 2 +- src/shared/ccp.c | 6 +++--- src/shared/csip.c | 4 ++-- src/shared/gap.c | 4 ++-- src/shared/gatt-client.c | 4 ++-- src/shared/gatt-db.c | 4 ++-- src/shared/gatt-helpers.c | 4 ++-- src/shared/gatt-server.c | 4 ++-- src/shared/log.c | 4 ++-- src/shared/mcp.c | 6 +++--- src/shared/mgmt.c | 6 +++--- src/shared/micp.c | 4 ++-- src/shared/tester.c | 4 ++-- src/shared/util.c | 2 +- src/shared/vcp.c | 4 ++-- src/storage.c | 8 ++++---- src/uuid-helper.c | 6 +++--- tools/advtest.c | 4 ++-- tools/avinfo.c | 8 ++++---- tools/avtest.c | 10 +++++----- tools/bdaddr.c | 6 +++--- tools/bluetooth-player.c | 4 ++-- tools/bnep-tester.c | 6 +++--- tools/bneptest.c | 8 ++++---- tools/btattach.c | 6 +++--- tools/btgatt-client.c | 10 +++++----- tools/btgatt-server.c | 10 +++++----- tools/btiotest.c | 2 +- tools/btmon-logger.c | 4 ++-- tools/btpclient.c | 2 +- tools/btpclientctl.c | 2 +- tools/ciptool.c | 14 +++++++------- tools/cltest.c | 8 ++++---- tools/hciattach.c | 6 +++--- tools/hciattach_ath3k.c | 6 +++--- tools/hciattach_bcm43xx.c | 6 +++--- tools/hciattach_intel.c | 6 +++--- tools/hciattach_qualcomm.c | 6 +++--- tools/hciattach_st.c | 2 +- tools/hciattach_ti.c | 6 +++--- tools/hciattach_tialt.c | 6 +++--- tools/hciconfig.c | 6 +++--- tools/hcidump.c | 4 ++-- tools/hcieventmask.c | 6 +++--- tools/hcisecfilter.c | 6 +++--- tools/hcitool.c | 6 +++--- tools/hwdb.c | 2 +- tools/ioctl-tester.c | 8 ++++---- tools/iso-tester.c | 8 ++++---- tools/isotest.c | 10 +++++----- tools/l2cap-tester.c | 6 +++--- tools/l2ping.c | 8 ++++---- tools/l2test.c | 8 ++++---- tools/mcaptest.c | 8 ++++---- tools/mesh-gatt/gatt.c | 4 ++-- tools/mesh-tester.c | 10 +++++----- tools/mesh/agent.c | 2 +- tools/meshctl.c | 4 ++-- tools/mgmt-tester.c | 10 +++++----- tools/oobtest.c | 4 ++-- tools/parser/hci.c | 4 ++-- tools/parser/l2cap.c | 2 +- tools/parser/lmp.c | 4 ++-- tools/parser/parser.h | 2 +- tools/rctest.c | 12 ++++++------ tools/rfcomm-tester.c | 6 +++--- tools/rfcomm.c | 8 ++++---- tools/sco-tester.c | 6 +++--- tools/scotest.c | 4 ++-- tools/sdptool.c | 10 +++++----- tools/smp-tester.c | 6 +++--- tools/test-runner.c | 6 +++--- tools/userchan-tester.c | 6 +++--- unit/avctp.c | 2 +- unit/avdtp.c | 2 +- unit/avrcp-lib.c | 2 +- unit/avrcp.c | 6 +++--- unit/test-avrcp.c | 2 +- unit/test-bap.c | 4 ++-- unit/test-bass.c | 4 ++-- unit/test-eir.c | 6 +++--- unit/test-gatt.c | 4 ++-- unit/test-gattrib.c | 4 ++-- unit/test-hog.c | 4 ++-- unit/test-lib.c | 4 ++-- unit/test-mgmt.c | 4 ++-- unit/test-micp.c | 4 ++-- unit/test-sdp.c | 6 +++--- unit/test-uuid.c | 4 ++-- unit/test-vcp.c | 4 ++-- 239 files changed, 614 insertions(+), 624 deletions(-) rename lib/{ => bluetooth}/bluetooth.c (100%) rename lib/{ => bluetooth}/bluetooth.h (100%) rename lib/{ => bluetooth}/bnep.h (100%) rename lib/{ => bluetooth}/cmtp.h (100%) rename lib/{ => bluetooth}/hci.c (100%) rename lib/{ => bluetooth}/hci.h (100%) rename lib/{ => bluetooth}/hci_lib.h (100%) rename lib/{ => bluetooth}/hidp.h (100%) rename lib/{ => bluetooth}/iso.h (100%) rename lib/{ => bluetooth}/l2cap.h (100%) rename lib/{ => bluetooth}/mgmt.h (100%) rename lib/{ => bluetooth}/rfcomm.h (100%) rename lib/{ => bluetooth}/sco.h (100%) rename lib/{ => bluetooth}/sdp.c (100%) rename lib/{ => bluetooth}/sdp.h (100%) rename lib/{ => bluetooth}/sdp_lib.h (100%) rename lib/{ => bluetooth}/uuid.c (99%) rename lib/{ => bluetooth}/uuid.h (100%).gitignore +0
-1@@ -38,7 +38,6 @@ coverage ell lib/bluez.pc -lib/bluetooth src/builtin.h src/bluetoothd tools/97-hid2hci.rulesMakefile.am +8
-17@@ -73,17 +73,15 @@ manual_pages = plugin_LTLIBRARIES = -lib_sources = lib/bluetooth.c lib/hci.c lib/sdp.c -lib_headers = lib/bluetooth.h lib/hci.h lib/hci_lib.h \ - lib/sco.h lib/l2cap.h lib/sdp.h lib/sdp_lib.h \ - lib/rfcomm.h lib/bnep.h lib/cmtp.h lib/hidp.h +lib_sources = lib/bluetooth/bluetooth.c lib/bluetooth/hci.c lib/bluetooth/sdp.c +lib_headers = lib/bluetooth/bluetooth.h lib/bluetooth/hci.h lib/bluetooth/hci_lib.h \ + lib/bluetooth/sco.h lib/bluetooth/l2cap.h lib/bluetooth/sdp.h lib/bluetooth/sdp_lib.h \ + lib/bluetooth/rfcomm.h lib/bluetooth/bnep.h lib/bluetooth/cmtp.h lib/bluetooth/hidp.h -extra_headers = lib/mgmt.h lib/uuid.h lib/iso.h -extra_sources = lib/uuid.c +extra_headers = lib/bluetooth/mgmt.h lib/bluetooth/uuid.h lib/bluetooth/iso.h +extra_sources = lib/bluetooth/uuid.c -local_headers = $(foreach file,$(lib_headers), lib/bluetooth/$(notdir $(file))) - -BUILT_SOURCES = $(local_headers) $(ell_built_sources) src/builtin.h +BUILT_SOURCES = $(ell_built_sources) src/builtin.h if LIBRARY pkginclude_HEADERS += $(lib_headers)@@ -517,7 +515,7 @@ EXTRA_DIST += doc/btsnoop.txt EXTRA_DIST += tools/magic.btsnoop -AM_CPPFLAGS += $(DBUS_CFLAGS) $(GLIB_CFLAGS) -I$(builddir)/lib +AM_CPPFLAGS += $(DBUS_CFLAGS) $(GLIB_CFLAGS) -I$(srcdir)/lib unit_tests += unit/test-tester@@ -789,12 +787,6 @@ tools/%.rules: $(AM_V_at)$(MKDIR_P) tools $(AM_V_GEN)cp $(srcdir)/$(subst 97-,,$@) $@ -$(lib_libbluetooth_la_OBJECTS): $(local_headers) - -lib/bluetooth/%.h: lib/%.h - $(AM_V_at)$(MKDIR_P) lib/bluetooth - $(AM_V_GEN)$(LN_S) -f $(abspath $<) $@ - ell/shared: Makefile $(AM_V_at)$(MKDIR_P) ell $(AM_V_GEN)for f in $(ell_shared) ; do \@@ -835,4 +827,3 @@ endif clean-local: clean-coverage -find $(top_builddir) -name "*.gcno" -delete -find $(top_builddir) -name "*.gcda" -delete - $(RM) -r lib/bluetoothattrib/att.c +2
-2@@ -19,8 +19,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "att.h" attrib/gatt.c +3
-3@@ -18,9 +18,9 @@#include <glib.h> -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "att.h" attrib/gattrib.c +2
-2@@ -20,8 +20,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "btio/btio.h" #include "src/log.h" attrib/gatttool.c +5
-5@@ -19,11 +19,11 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "att.h" attrib/interactive.c +3
-3@@ -26,9 +26,9 @@#include <readline/readline.h> #include <readline/history.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "btio/btio.h" attrib/utils.c +5
-5@@ -16,11 +16,11 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "btio/btio.h" #include "att.h" btio/btio.c +5
-5@@ -25,11 +25,11 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/l2cap.h" -#include "lib/rfcomm.h" -#include "lib/sco.h" -#include "lib/iso.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/rfcomm.h" +#include "bluetooth/sco.h" +#include "bluetooth/iso.h" #include "btio.h" client/assistant.c +2
-2@@ -26,8 +26,8 @@#include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/shell.h" client/mgmt.c +7
-7@@ -29,15 +29,15 @@#include <wordexp.h> #include <ctype.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "src/uuid-helper.h" -#include "lib/mgmt.h" +#include "bluetooth/mgmt.h" #include "src/shared/mainloop.h" #include "src/shared/io.h" client/player.c +3
-3@@ -32,9 +32,9 @@#include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/uuid.h" -#include "lib/iso.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" +#include "bluetooth/iso.h" #include "profiles/audio/a2dp-codecs.h" #include "src/shared/lc3.h" emulator/b1ee.c +2
-2@@ -26,8 +26,8 @@#include <netdb.h> #include <arpa/inet.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/mainloop.h" emulator/btdev.c +2
-2@@ -27,8 +27,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/util.h" #include "src/shared/timeout.h" emulator/bthost.c +1
-1@@ -22,7 +22,7 @@#include <endian.h> #include <stdbool.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "src/shared/util.h" #include "src/shared/tester.h" emulator/bthost.h +1
-1@@ -13,7 +13,7 @@#include <stdint.h> #include <sys/uio.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" typedef void (*bthost_send_func ) (const struct iovec *iov,int iovlen,void *user_data);emulator/hciemu.c +2
-2@@ -25,8 +25,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "monitor/bt.h" #include "emulator/vhci.h" emulator/le.c +2
-2@@ -22,8 +22,8 @@#include <sys/uio.h> #include <time.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/util.h" #include "src/shared/crypto.h" emulator/serial.c +2
-2@@ -26,8 +26,8 @@#include <sys/epoll.h> #include <sys/uio.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/mainloop.h" #include "btdev.h" emulator/server.c +2
-2@@ -26,8 +26,8 @@#include <netinet/in.h> #include <arpa/inet.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/mainloop.h" #include "btdev.h" emulator/smp.c +2
-2@@ -22,8 +22,8 @@#include <stdbool.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/util.h" #include "src/shared/crypto.h" emulator/vhci.c +2
-2@@ -25,8 +25,8 @@#include <dirent.h> #include <limits.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/io.h" #include "monitor/bt.h" lib/bluetooth/bluetooth.c renamed from lib/bluetooth.c +0
-0lib/bluetooth/bluetooth.h renamed from lib/bluetooth.h +0
-0lib/bluetooth/bnep.h renamed from lib/bnep.h +0
-0lib/bluetooth/cmtp.h renamed from lib/cmtp.h +0
-0lib/bluetooth/hci.c renamed from lib/hci.c +0
-0lib/bluetooth/hci.h renamed from lib/hci.h +0
-0lib/bluetooth/hci_lib.h renamed from lib/hci_lib.h +0
-0lib/bluetooth/hidp.h renamed from lib/hidp.h +0
-0lib/bluetooth/iso.h renamed from lib/iso.h +0
-0lib/bluetooth/l2cap.h renamed from lib/l2cap.h +0
-0lib/bluetooth/mgmt.h renamed from lib/mgmt.h +0
-0lib/bluetooth/rfcomm.h renamed from lib/rfcomm.h +0
-0lib/bluetooth/sco.h renamed from lib/sco.h +0
-0lib/bluetooth/sdp.c renamed from lib/sdp.c +0
-0lib/bluetooth/sdp.h renamed from lib/sdp.h +0
-0lib/bluetooth/sdp_lib.h renamed from lib/sdp_lib.h +0
-0lib/bluetooth/uuid.c renamed from lib/uuid.c +1
-1@@ -17,7 +17,7 @@#include <stdlib.h> #include <errno.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "uuid.h" static uint128_t bluetooth_base_uuid = {lib/bluetooth/uuid.h renamed from lib/uuid.h +0
-0mesh/main.c +2
-2@@ -24,8 +24,8 @@#include <sys/stat.h> #include <ell/ell.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "mesh/mesh.h" #include "mesh/crypto.h" mesh/mesh-io-generic.c +2
-2@@ -22,8 +22,8 @@#include "src/shared/ad.h" #include "src/shared/hci.h" #include "src/shared/mgmt.h" -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "mesh/mesh-defs.h" #include "mesh/mesh-mgmt.h" mesh/mesh-io-mgmt.c +3
-3@@ -20,9 +20,9 @@#include <ell/ell.h> #include "monitor/bt.h" -#include "lib/bluetooth.h" -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "src/shared/ad.h" #include "src/shared/mgmt.h" mesh/mesh-io.c +2
-2@@ -16,8 +16,8 @@#include <ell/ell.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "src/shared/ad.h" #include "src/shared/mgmt.h" mesh/mesh-mgmt.c +2
-2@@ -16,8 +16,8 @@#include <ell/ell.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "src/shared/mgmt.h" #include "mesh/mesh-mgmt.h" monitor/a2dp.c +1
-1@@ -18,7 +18,7 @@#include <stdlib.h> #include <string.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "src/shared/util.h" #include "bt.h" monitor/analyze.c +1
-1@@ -19,7 +19,7 @@#include <sys/time.h> #include <unistd.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "src/shared/util.h" #include "src/shared/queue.h" monitor/att.c +4
-4@@ -27,10 +27,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "src/shared/util.h" #include "src/shared/queue.h" monitor/avctp.c +2
-2@@ -20,8 +20,8 @@#include <ctype.h> #include <inttypes.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "bt.h" monitor/avdtp.c +1
-1@@ -17,7 +17,7 @@#include <stdlib.h> #include <string.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "src/shared/util.h" #include "bt.h" monitor/bnep.c +2
-2@@ -20,8 +20,8 @@#include <ctype.h> #include <inttypes.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "bt.h" monitor/control.c +3
-3@@ -30,9 +30,9 @@#include <fcntl.h> #include <linux/filter.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/mgmt.h" #include "src/shared/util.h" #include "src/shared/btsnoop.h" monitor/hcidump.c +3
-3@@ -22,9 +22,9 @@#include <sys/ioctl.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "src/shared/mainloop.h" monitor/intel.c +2
-2@@ -17,8 +17,8 @@#include <stdio.h> #include <inttypes.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/util.h" #include "display.h" monitor/l2cap.c +2
-2@@ -19,8 +19,8 @@#include <string.h> #include <inttypes.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/queue.h" monitor/msft.c +2
-2@@ -30,8 +30,8 @@#include <stdio.h> #include <inttypes.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "display.h" monitor/packet.c +4
-4@@ -28,10 +28,10 @@#include <sys/socket.h> #include <limits.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "src/shared/util.h" #include "src/shared/btsnoop.h" monitor/rfcomm.c +2
-2@@ -20,8 +20,8 @@#include <ctype.h> #include <inttypes.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "bt.h" monitor/sdp.c +2
-2@@ -19,8 +19,8 @@#include <string.h> #include <inttypes.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" obexd/client/bluetooth.c +4
-4@@ -18,10 +18,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/rfcomm.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/rfcomm.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "gdbus/gdbus.h" #include "btio/btio.h" obexd/client/map.c +1
-1@@ -21,7 +21,7 @@#include <glib.h> -#include "lib/sdp.h" +#include "bluetooth/sdp.h" #include "gobex/gobex-apparam.h" #include "gdbus/gdbus.h" obexd/client/pbap.c +2
-2@@ -20,8 +20,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" #include "gobex/gobex-apparam.h" #include "gdbus/gdbus.h" obexd/plugins/bluetooth.c +2
-2@@ -22,8 +22,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h" obexd/plugins/syncevolution.c +1
-1@@ -21,7 +21,7 @@#include <glib.h> #include <dbus/dbus.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "gdbus/gdbus.h" peripheral/attach.c +3
-3@@ -17,9 +17,9 @@#include <unistd.h> #include <sys/ioctl.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "tools/hciattach.h" #include "peripheral/attach.h" peripheral/gap.c +2
-2@@ -15,8 +15,8 @@#include <stdio.h> #include <string.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "src/shared/util.h" #include "src/shared/mgmt.h" #include "peripheral/gatt.h" peripheral/gatt.c +3
-3@@ -18,9 +18,9 @@#include <string.h> #include <sys/epoll.h> -#include "lib/bluetooth.h" -#include "lib/l2cap.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/uuid.h" #include "src/shared/mainloop.h" #include "src/shared/util.h" #include "src/shared/queue.h" plugins/admin.c +2
-2@@ -19,8 +19,8 @@#include <sys/stat.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/adapter.h" #include "src/dbus-common.h" plugins/autopair.c +2
-2@@ -20,8 +20,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" #include "src/plugin.h" #include "src/adapter.h" plugins/hostname.c +2
-2@@ -19,8 +19,8 @@#include <fcntl.h> #include <sys/utsname.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" #include "gdbus/gdbus.h" plugins/neard.c +3
-3@@ -16,9 +16,9 @@#include <stdlib.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/sdp.h" #include "gdbus/gdbus.h" plugins/policy.c +4
-4@@ -19,10 +19,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" +#include "bluetooth/mgmt.h" #include "src/log.h" #include "src/plugin.h" plugins/sixaxis.c +3
-3@@ -26,9 +26,9 @@#include <glib.h> #include <libudev.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/adapter.h" #include "src/device.h" profiles/audio/a2dp.c +4
-4@@ -24,10 +24,10 @@#include <dbus/dbus.h> #include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h" profiles/audio/asha.c +3
-3@@ -27,9 +27,9 @@#include "btio/btio.h" #include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/l2cap.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/uuid.h" #include "src/dbus-common.h" #include "src/adapter.h" profiles/audio/avctp.c +4
-4@@ -29,10 +29,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/l2cap.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/uuid.h" #include "btio/btio.h" #include "src/adapter.h" profiles/audio/avdtp.c +4
-4@@ -23,10 +23,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "btio/btio.h" #include "src/btd.h" profiles/audio/avrcp.c +1
-1@@ -33,7 +33,7 @@#include "bluetooth/bluetooth.h" #include "bluetooth/sdp.h" #include "bluetooth/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h" profiles/audio/bap.c +5
-5@@ -30,11 +30,11 @@#include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/sdp.h" -#include "lib/uuid.h" -#include "lib/iso.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" +#include "bluetooth/iso.h" #include "src/btd.h" #include "src/dbus-common.h" profiles/audio/bass.c +3
-3@@ -27,9 +27,9 @@#include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/uuid.h" -#include "lib/iso.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" +#include "bluetooth/iso.h" #include "src/dbus-common.h" #include "src/shared/util.h" profiles/audio/ccp.c +4
-4@@ -28,10 +28,10 @@#include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/dbus-common.h" #include "src/shared/util.h" profiles/audio/control.c +4
-4@@ -27,10 +27,10 @@#include <glib.h> #include <dbus/dbus.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h" profiles/audio/csip.c +4
-4@@ -27,10 +27,10 @@#include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/dbus-common.h" #include "src/shared/util.h" profiles/audio/mcp.c +4
-4@@ -27,10 +27,10 @@#include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/dbus-common.h" #include "src/shared/util.h" profiles/audio/media.c +4
-4@@ -31,10 +31,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" +#include "bluetooth/mgmt.h" #include "gdbus/gdbus.h" profiles/audio/micp.c +4
-4@@ -27,10 +27,10 @@#include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/dbus-common.h" #include "src/shared/util.h" profiles/audio/sink.c +2
-2@@ -20,8 +20,8 @@#include <glib.h> #include <dbus/dbus.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" #include "gdbus/gdbus.h" profiles/audio/source.c +2
-2@@ -21,8 +21,8 @@#include <glib.h> #include <dbus/dbus.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" #include "gdbus/gdbus.h" profiles/audio/transport.c +3
-3@@ -19,9 +19,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h" #include "btio/btio.h" profiles/audio/vcp.c +4
-4@@ -27,10 +27,10 @@#include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/dbus-common.h" #include "src/shared/util.h" profiles/battery/bas.c +3
-3@@ -19,9 +19,9 @@#include "src/log.h" -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/queue.h" profiles/battery/battery.c +4
-4@@ -23,10 +23,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/att.h" profiles/cups/hcrp.c +4
-4@@ -20,10 +20,10 @@#include <sys/socket.h> #include <netinet/in.h> -#include "lib/bluetooth.h" -#include "lib/l2cap.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "cups.h" profiles/cups/main.c +3
-3@@ -25,9 +25,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "gdbus/gdbus.h" profiles/cups/sdp.c +3
-3@@ -18,9 +18,9 @@#include <signal.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "cups.h" profiles/cups/spp.c +4
-4@@ -18,10 +18,10 @@#include <signal.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/rfcomm.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/rfcomm.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "cups.h" profiles/deviceinfo/deviceinfo.c +3
-3@@ -17,9 +17,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/plugin.h" #include "src/adapter.h" profiles/deviceinfo/dis.c +3
-3@@ -18,9 +18,9 @@#include "src/log.h" -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/queue.h" profiles/gap/gas.c +4
-4@@ -23,10 +23,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/att.h" profiles/health/hdp.c +3
-3@@ -19,9 +19,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/l2cap.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/sdp.h" #include "gdbus/gdbus.h" profiles/health/hdp_manager.c +3
-3@@ -13,9 +13,9 @@#include <stdbool.h> -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "btio/btio.h" #include "src/adapter.h" profiles/health/hdp_util.c +4
-4@@ -17,10 +17,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h" profiles/health/mcap.c +1
-1@@ -22,7 +22,7 @@#include <glib.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "bluetooth/l2cap.h" #include "btio/btio.h" #include "src/log.h" profiles/input/device.c +5
-5@@ -22,11 +22,11 @@#include <sys/ioctl.h> #include <sys/uio.h> -#include "lib/bluetooth.h" -#include "lib/hidp.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hidp.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h" profiles/input/hog-lib.c +3
-3@@ -27,9 +27,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/uhid.h" profiles/input/hog.c +3
-3@@ -24,9 +24,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/log.h" #include "src/adapter.h" profiles/input/manager.c +4
-4@@ -16,10 +16,10 @@#include <stdbool.h> #include <stdlib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "src/log.h" #include "src/plugin.h" profiles/input/server.c +3
-3@@ -19,9 +19,9 @@#include <glib.h> #include <dbus/dbus.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/log.h" #include "src/uuid-helper.h" profiles/midi/midi.c +3
-3@@ -15,9 +15,9 @@#include <errno.h> #include <alsa/asoundlib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/plugin.h" #include "src/adapter.h" profiles/network/bnep.c +4
-4@@ -26,10 +26,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/l2cap.h" -#include "lib/bnep.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/bnep.h" +#include "bluetooth/uuid.h" #include "src/log.h" #include "src/shared/timeout.h" profiles/network/connection.c +4
-4@@ -21,9 +21,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/bnep.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/bnep.h" +#include "bluetooth/sdp.h" #include "gdbus/gdbus.h" @@ -35,7 +35,7 @@#include "src/profile.h" #include "src/service.h" #include "src/error.h" -#include "lib/uuid.h" +#include "bluetooth/uuid.h" #include "bnep.h" #include "connection.h" profiles/network/manager.c +4
-4@@ -17,10 +17,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/bnep.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/bnep.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/log.h" #include "src/plugin.h" profiles/network/server.c +5
-5@@ -21,11 +21,11 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/bnep.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/bnep.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h" profiles/sap/manager.c +2
-2@@ -12,8 +12,8 @@#include <stdbool.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" #include "src/log.h" #include "src/adapter.h" profiles/sap/server.c +3
-3@@ -19,9 +19,9 @@#include <errno.h> #include <glib.h> -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h" profiles/scanparam/scan.c +3
-3@@ -16,9 +16,9 @@#include <stdbool.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/log.h" #include "src/plugin.h" profiles/scanparam/scpp.c +3
-3@@ -20,9 +20,9 @@#include "src/log.h" -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/queue.h" src/adapter.c +2
-2@@ -34,8 +34,8 @@#include "bluetooth/hci_lib.h" #include "bluetooth/sdp.h" #include "bluetooth/sdp_lib.h" -#include "lib/uuid.h" -#include "lib/mgmt.h" +#include "bluetooth/uuid.h" +#include "bluetooth/mgmt.h" #include "gdbus/gdbus.h" src/adapter.h +2
-2@@ -13,8 +13,8 @@#include <dbus/dbus.h> #include <glib.h> -#include <lib/bluetooth.h> -#include <lib/sdp.h> +#include <bluetooth/bluetooth.h> +#include <bluetooth/sdp.h> #define ADAPTER_INTERFACE "org.bluez.Adapter1"src/adv_monitor.c +2
-2@@ -21,8 +21,8 @@#include <dbus/dbus.h> #include <gdbus/gdbus.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "adapter.h" #include "btd.h" src/advertising.c +3
-3@@ -20,9 +20,9 @@#include <dbus/dbus.h> #include <gdbus/gdbus.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" +#include "bluetooth/sdp.h" #include "adapter.h" #include "dbus-common.h" src/agent.c +2
-2@@ -23,8 +23,8 @@#include <glib.h> #include <dbus/dbus.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" #include "gdbus/gdbus.h" src/battery.c +1
-1@@ -18,7 +18,7 @@#include <glib.h> #include "gdbus/gdbus.h" -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "src/shared/queue.h" #include "src/shared/util.h" #include "battery.h" src/bearer.c +2
-2@@ -23,8 +23,8 @@#include <glib.h> #include <dbus/dbus.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "gdbus/gdbus.h" #include "src/shared/util.h" src/device.c +5
-5@@ -28,10 +28,10 @@#include <glib.h> #include <dbus/dbus.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h" @@ -45,7 +45,7 @@#include "src/shared/ad.h" #include "src/shared/timeout.h" #include "btio/btio.h" -#include "lib/mgmt.h" +#include "bluetooth/mgmt.h" #include "attrib/att.h" #include "btd.h" #include "adapter.h" src/eir.c +3
-3@@ -21,9 +21,9 @@#include <stdbool.h> #include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/sdp.h" #include "src/shared/util.h" #include "uuid-helper.h" src/eir.h +2
-2@@ -11,8 +11,8 @@#include <glib.h> -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #define EIR_FLAGS 0x01/* flags */ #define EIR_UUID16_SOME 0x02/* 16-bit UUID, more available */ src/gatt-client.c +3
-3@@ -21,9 +21,9 @@#include <dbus/dbus.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h" #include "btio/btio.h" src/gatt-database.c +5
-5@@ -18,11 +18,11 @@#include <unistd.h> #include <limits.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" +#include "bluetooth/mgmt.h" #include "btio/btio.h" #include "gdbus/gdbus.h" #include "src/shared/util.h" src/log.c +2
-2@@ -25,8 +25,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/util.h" #include "src/shared/log.h" src/main.c +3
-3@@ -31,8 +31,8 @@#include <dbus/dbus.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" #include "gdbus/gdbus.h" #include "btio/btio.h" @@ -45,7 +45,7 @@#include "shared/timeout.h" #include "shared/queue.h" #include "shared/crypto.h" -#include "lib/uuid.h" +#include "bluetooth/uuid.h" #include "shared/util.h" #include "btd.h" #include "sdpd.h" src/oui.c +1
-1@@ -13,7 +13,7 @@#endif #define _GNU_SOURCE -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "oui.h" #ifdef HAVE_UDEV src/plugin.c +1
-1@@ -19,7 +19,7 @@#include <glib.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "btio/btio.h" #include "src/plugin.h" src/profile.c +4
-4@@ -21,10 +21,10 @@#include <glib.h> #include <dbus/dbus.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "gdbus/gdbus.h" src/rfkill.c +2
-2@@ -24,8 +24,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" #include "log.h" #include "adapter.h" src/sdp-client.c +3
-3@@ -16,9 +16,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "btio/btio.h" #include "shared/timeout.h" src/sdp-xml.c +2
-2@@ -22,8 +22,8 @@#include <glib.h> -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "sdp-xml.h" src/sdpd-database.c +3
-3@@ -18,9 +18,9 @@#include <stdlib.h> #include <stdbool.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "sdpd.h" #include "log.h" src/sdpd-request.c +4
-4@@ -20,10 +20,10 @@#include <limits.h> #include <stdbool.h> -#include "lib/bluetooth.h" -#include "lib/l2cap.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "src/shared/util.h" src/sdpd-server.c +4
-4@@ -25,10 +25,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/l2cap.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "log.h" #include "sdpd.h" src/sdpd-service.c +3
-3@@ -23,9 +23,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "src/shared/util.h" #include "sdpd.h" src/service.c +2
-2@@ -23,8 +23,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" #include "log.h" #include "backtrace.h" src/settings.c +2
-2@@ -16,8 +16,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "log.h" #include "src/shared/queue.h" src/shared/ad.c +2
-2@@ -16,8 +16,8 @@#include <ctype.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/ad.h" src/shared/ad.h +2
-2@@ -11,8 +11,8 @@#include <inttypes.h> #include <stdbool.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #define BT_AD_MAX_DATA_LEN 31#define BT_EA_MAX_DATA_LEN 251src/shared/asha.c +2
-2@@ -19,8 +19,8 @@#include <stdlib.h> #include <string.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/att.h" src/shared/att.c +3
-3@@ -20,9 +20,9 @@#include "src/shared/queue.h" #include "src/shared/util.h" #include "src/shared/timeout.h" -#include "lib/bluetooth.h" -#include "lib/l2cap.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/uuid.h" #include "src/shared/att.h" #include "src/shared/crypto.h" src/shared/bap.c +2
-2@@ -16,8 +16,8 @@#include <unistd.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/io.h" #include "src/shared/queue.h" src/shared/bass.c +2
-2@@ -15,8 +15,8 @@#include <unistd.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/queue.h" #include "src/shared/util.h" src/shared/btp.c +1
-1@@ -16,7 +16,7 @@#include <ell/ell.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "src/shared/btp.h" #define BTP_MTU 512src/shared/ccp.c +3
-3@@ -15,9 +15,9 @@#include <unistd.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" +#include "bluetooth/hci.h" #include "src/shared/queue.h" #include "src/shared/util.h" src/shared/csip.c +2
-2@@ -17,8 +17,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/queue.h" #include "src/shared/util.h" src/shared/gap.c +2
-2@@ -15,8 +15,8 @@#include <stdio.h> #include <stdlib.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "src/shared/util.h" #include "src/shared/queue.h" src/shared/gatt-client.c +2
-2@@ -13,8 +13,8 @@#endif #include "src/shared/att.h" -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/gatt-helpers.h" #include "src/shared/util.h" #include "src/shared/queue.h" src/shared/gatt-db.c +2
-2@@ -15,8 +15,8 @@#include <stdbool.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/queue.h" #include "src/shared/timeout.h" src/shared/gatt-helpers.c +2
-2@@ -15,8 +15,8 @@#include "src/shared/queue.h" #include "src/shared/att.h" -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/gatt-helpers.h" #include "src/shared/util.h" src/shared/gatt-server.c +2
-2@@ -17,8 +17,8 @@#include <errno.h> #include "src/shared/att.h" -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/queue.h" #include "src/shared/gatt-db.h" #include "src/shared/gatt-server.h" src/shared/log.c +2
-2@@ -23,8 +23,8 @@#include <signal.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/util.h" #include "src/shared/log.h" src/shared/mcp.c +3
-3@@ -15,9 +15,9 @@#include <unistd.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" +#include "bluetooth/hci.h" #include "src/shared/queue.h" #include "src/shared/util.h" src/shared/mgmt.c +3
-3@@ -17,9 +17,9 @@#include <string.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" +#include "bluetooth/hci.h" #include "src/shared/io.h" #include "src/shared/queue.h" src/shared/micp.c +2
-2@@ -14,8 +14,8 @@#include <unistd.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/queue.h" #include "src/shared/util.h" src/shared/tester.c +2
-2@@ -25,8 +25,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #ifdef HAVE_VALGRIND_MEMCHECK_H #include <valgrind/memcheck.h> src/shared/util.c +1
-1@@ -29,7 +29,7 @@#include <sys/random.h> #endif -#include <lib/bluetooth.h> +#include <bluetooth/bluetooth.h> /* define MAX_INPUT for musl */ #ifndef MAX_INPUT src/shared/vcp.c +2
-2@@ -15,8 +15,8 @@#include <unistd.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/queue.h" #include "src/shared/util.h" src/storage.c +4
-4@@ -27,10 +27,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/uuid.h" #include "textfile.h" #include "uuid-helper.h" src/uuid-helper.c +3
-3@@ -19,9 +19,9 @@#include <errno.h> #include <arpa/inet.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "uuid-helper.h" tools/advtest.c +2
-2@@ -22,8 +22,8 @@#include <getopt.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "monitor/bt.h" #include "src/shared/mainloop.h" tools/avinfo.c +4
-4@@ -27,10 +27,10 @@#include <sys/ioctl.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/l2cap.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/l2cap.h" #include "profiles/audio/a2dp-codecs.h" tools/avtest.c +5
-5@@ -22,11 +22,11 @@#include <sys/socket.h> #include <netinet/in.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/l2cap.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/sdp.h" #define AVDTP_PKT_TYPE_SINGLE 0x00#define AVDTP_PKT_TYPE_START 0x01tools/bdaddr.c +3
-3@@ -20,9 +20,9 @@#include <sys/ioctl.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "src/oui.h" tools/bluetooth-player.c +2
-2@@ -26,8 +26,8 @@#include <glib.h> #include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/shell.h" tools/bnep-tester.c +3
-3@@ -20,9 +20,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/bnep.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/bnep.h" +#include "bluetooth/mgmt.h" #include "monitor/bt.h" #include "emulator/bthost.h" tools/bneptest.c +4
-4@@ -28,14 +28,14 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "src/log.h" #include "src/shared/util.h" #include "btio/btio.h" -#include "lib/bnep.h" +#include "bluetooth/bnep.h" #include "profiles/network/bnep.h" enum {tools/btattach.c +3
-3@@ -25,9 +25,9 @@#include <sys/ioctl.h> #include <poll.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "hciattach.h" #include "monitor/bt.h" tools/btgatt-client.c +5
-5@@ -21,11 +21,11 @@#include <limits.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/l2cap.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/uuid.h" #include "src/shared/mainloop.h" #include "src/shared/util.h" tools/btgatt-server.c +5
-5@@ -21,11 +21,11 @@#include <unistd.h> #include <errno.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/l2cap.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/uuid.h" #include "src/shared/mainloop.h" #include "src/shared/util.h" tools/btiotest.c +1
-1@@ -23,7 +23,7 @@#include <glib.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "btio/btio.h" tools/btmon-logger.c +2
-2@@ -29,8 +29,8 @@#include <linux/capability.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" #include "src/shared/util.h" #include "src/shared/mainloop.h" tools/btpclient.c +1
-1@@ -21,7 +21,7 @@#include <ell/ell.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "src/shared/btp.h" #define AD_PATH "/org/bluez/advertising"tools/btpclientctl.c +1
-1@@ -22,7 +22,7 @@#include <fcntl.h> #include <poll.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "src/shared/ad.h" #include "src/shared/btp.h" tools/ciptool.c +7
-7@@ -24,13 +24,13 @@#include <sys/ioctl.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/l2cap.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" -#include "lib/cmtp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" +#include "bluetooth/cmtp.h" static volatile sig_atomic_t __io_canceled =0 ;tools/cltest.c +4
-4@@ -23,10 +23,10 @@#include <sys/ioctl.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/l2cap.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/l2cap.h" #include "src/shared/mainloop.h" tools/hciattach.c +3
-3@@ -31,9 +31,9 @@#include <sys/param.h> #include <sys/ioctl.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "src/shared/tty.h" tools/hciattach_ath3k.c +3
-3@@ -23,9 +23,9 @@#include <sys/param.h> #include <sys/ioctl.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "hciattach.h" tools/hciattach_bcm43xx.c +3
-3@@ -24,9 +24,9 @@#include <time.h> #include <limits.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "hciattach.h" tools/hciattach_intel.c +3
-3@@ -24,9 +24,9 @@#include <sys/ioctl.h> #include <time.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "hciattach.h" tools/hciattach_qualcomm.c +3
-3@@ -30,9 +30,9 @@#include <sys/ioctl.h> #include <sys/uio.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "hciattach.h" tools/hciattach_st.c +1
-1@@ -23,7 +23,7 @@#include <dirent.h> #include <sys/param.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "hciattach.h" tools/hciattach_ti.c +3
-3@@ -26,9 +26,9 @@#include <sys/param.h> #include <sys/ioctl.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "hciattach.h" tools/hciattach_tialt.c +3
-3@@ -29,9 +29,9 @@#include <sys/ioctl.h> #include <sys/uio.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "hciattach.h" tools/hciconfig.c +3
-3@@ -27,9 +27,9 @@#include <sys/socket.h> #include <sys/stat.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "src/textfile.h" #include "src/shared/util.h" tools/hcidump.c +2
-2@@ -30,8 +30,8 @@#include "parser/parser.h" #include "parser/sdp.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #define SNAP_LEN HCI_MAX_FRAME_SIZEtools/hcieventmask.c +3
-3@@ -18,9 +18,9 @@#include <getopt.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" static struct option main_options[] = { {"device" ,1 ,0 ,'i' },tools/hcisecfilter.c +3
-3@@ -16,9 +16,9 @@#include <stdio.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" int main (int argc,char *argv[]) {tools/hcitool.c +3
-3@@ -28,9 +28,9 @@#include <sys/socket.h> #include <signal.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "src/oui.h" tools/hwdb.c +1
-1@@ -14,7 +14,7 @@#include <stdio.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" static const struct { uint16_t vendor;tools/ioctl-tester.c +4
-4@@ -22,10 +22,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "monitor/bt.h" #include "emulator/bthost.h" tools/iso-tester.c +4
-4@@ -24,10 +24,10 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/iso.h" -#include "lib/mgmt.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/iso.h" +#include "bluetooth/mgmt.h" +#include "bluetooth/uuid.h" #include "monitor/bt.h" #include "emulator/vhci.h" tools/isotest.c +5
-5@@ -35,11 +35,11 @@#include <sys/wait.h> #include <poll.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/mgmt.h" -#include "lib/iso.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/mgmt.h" +#include "bluetooth/iso.h" #include "src/shared/util.h" tools/l2cap-tester.c +3
-3@@ -20,9 +20,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/l2cap.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/l2cap.h" +#include "bluetooth/mgmt.h" #include "monitor/bt.h" #include "emulator/bthost.h" tools/l2ping.c +4
-4@@ -26,10 +26,10 @@#include <poll.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/l2cap.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/l2cap.h" /* Defaults */ static bdaddr_t bdaddr;tools/l2test.c +4
-4@@ -30,10 +30,10 @@#include <sys/ioctl.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/l2cap.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/l2cap.h" #include "src/shared/util.h" #include "monitor/display.h" tools/mcaptest.c +4
-4@@ -20,12 +20,12 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "btio/btio.h" -#include "lib/l2cap.h" +#include "bluetooth/l2cap.h" #include "profiles/health/mcap.h" enum {tools/mesh-gatt/gatt.c +2
-2@@ -26,8 +26,8 @@#include "src/shared/shell.h" #include "src/shared/util.h" #include "gdbus/gdbus.h" -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "tools/mesh-gatt/node.h" #include "tools/mesh-gatt/util.h" tools/mesh-tester.c +5
-5@@ -23,11 +23,11 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/mgmt.h" -#include "lib/l2cap.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/mgmt.h" +#include "bluetooth/l2cap.h" #include "monitor/bt.h" #include "emulator/vhci.h" tools/mesh/agent.c +1
-1@@ -17,7 +17,7 @@#include <stdbool.h> #include <inttypes.h> -#include <lib/bluetooth.h> +#include <bluetooth/bluetooth.h> #include "src/shared/shell.h" #include "tools/mesh/agent.h" tools/meshctl.c +2
-2@@ -29,8 +29,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/shell.h" #include "src/shared/util.h" #include "gdbus/gdbus.h" tools/mgmt-tester.c +5
-5@@ -24,11 +24,11 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/mgmt.h" -#include "lib/l2cap.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/mgmt.h" +#include "bluetooth/l2cap.h" #include "monitor/bt.h" #include "emulator/vhci.h" tools/oobtest.c +2
-2@@ -15,8 +15,8 @@#include <getopt.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "src/shared/mainloop.h" #include "src/shared/util.h" tools/parser/hci.c +2
-2@@ -22,8 +22,8 @@#include <string.h> #include "parser.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" static uint16_t manufacturer =DEFAULT_COMPID ;tools/parser/l2cap.c +1
-1@@ -24,7 +24,7 @@#include "parser.h" #include "sdp.h" #include "l2cap.h" -#include "lib/hci.h" +#include "bluetooth/hci.h" typedef struct { uint16_t handle;tools/parser/lmp.c +2
-2@@ -19,8 +19,8 @@#include <sys/socket.h> #include "parser.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #define LMP_U8 (frm) (p_get_u8(frm))#define LMP_U16 (frm) (btohs(htons(p_get_u16(frm))))tools/parser/parser.h +1
-1@@ -16,7 +16,7 @@#include <sys/time.h> #include <netinet/in.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "src/shared/util.h" struct frame {tools/rctest.c +6
-6@@ -28,12 +28,12 @@#include <sys/socket.h> #include <sys/stat.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/rfcomm.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/rfcomm.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "src/shared/util.h" tools/rfcomm-tester.c +3
-3@@ -20,9 +20,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/rfcomm.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/rfcomm.h" +#include "bluetooth/mgmt.h" #include "monitor/bt.h" #include "emulator/bthost.h" tools/rfcomm.c +4
-4@@ -28,10 +28,10 @@#include <sys/socket.h> #include <sys/wait.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/rfcomm.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/rfcomm.h" static int rfcomm_raw_tty =0 ;static int auth =0 ;tools/sco-tester.c +3
-3@@ -19,9 +19,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sco.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sco.h" +#include "bluetooth/mgmt.h" #include "monitor/bt.h" #include "emulator/bthost.h" tools/scotest.c +2
-2@@ -25,8 +25,8 @@#include <sys/time.h> #include <sys/socket.h> -#include "lib/bluetooth.h" -#include "lib/sco.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sco.h" #include "src/shared/util.h" tools/sdptool.c +5
-5@@ -26,11 +26,11 @@#include <sys/socket.h> #include <netinet/in.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "src/sdp-xml.h" tools/smp-tester.c +3
-3@@ -20,9 +20,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/mgmt.h" #include "monitor/bt.h" #include "emulator/bthost.h" tools/test-runner.c +3
-3@@ -31,9 +31,9 @@#include <sys/param.h> #include <sys/reboot.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/hci_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/hci_lib.h" #include "tools/hciattach.h" #ifndef WAIT_ANY tools/userchan-tester.c +3
-3@@ -20,9 +20,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/mgmt.h" #include "monitor/bt.h" #include "emulator/bthost.h" unit/avctp.c +1
-1@@ -30,7 +30,7 @@#include <glib.h> -#include "lib/sdp.h" +#include "bluetooth/sdp.h" #include "src/shared/util.h" #include "src/log.h" #include "avctp.h" unit/avdtp.c +1
-1@@ -26,7 +26,7 @@#include <glib.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "src/log.h" #include "src/shared/util.h" #include "src/shared/queue.h" unit/avrcp-lib.c +1
-1@@ -18,7 +18,7 @@#include <errno.h> #include <string.h> -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "src/shared/util.h" #include "src/log.h" unit/avrcp.c +3
-3@@ -18,9 +18,9 @@#include <glib.h> #include "btio/btio.h" -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "src/sdp-client.h" #include "src/shared/util.h" #include "src/log.h" unit/test-avrcp.c +1
-1@@ -26,7 +26,7 @@#include "src/shared/util.h" #include "src/shared/tester.h" #include "src/log.h" -#include "lib/bluetooth.h" +#include "bluetooth/bluetooth.h" #include "unit/avctp.h" #include "unit/avrcp-lib.h" unit/test-bap.c +2
-2@@ -21,8 +21,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/io.h" #include "src/shared/tester.h" unit/test-bass.c +2
-2@@ -20,8 +20,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/io.h" #include "src/shared/tester.h" unit/test-eir.c +3
-3@@ -16,9 +16,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/hci.h" -#include "lib/sdp.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/hci.h" +#include "bluetooth/sdp.h" #include "src/shared/tester.h" #include "src/shared/util.h" #include "src/shared/ad.h" unit/test-gatt.c +2
-2@@ -22,8 +22,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/att.h" #include "src/shared/gatt-helpers.h" unit/test-gattrib.c +2
-2@@ -23,8 +23,8 @@#include <glib.h> #include "src/shared/util.h" -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "attrib/att.h" #include "attrib/gattrib.h" #include "src/log.h" unit/test-hog.c +2
-2@@ -20,8 +20,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/tester.h" unit/test-lib.c +2
-2@@ -21,8 +21,8 @@#include "src/shared/util.h" #include "src/shared/tester.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" static void test_ntoh64 (const void *data) {unit/test-mgmt.c +2
-2@@ -18,8 +18,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/mgmt.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/mgmt.h" #include "src/shared/mgmt.h" unit/test-micp.c +2
-2@@ -20,8 +20,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/tester.h" #include "src/shared/queue.h" unit/test-sdp.c +3
-3@@ -20,9 +20,9 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/sdp.h" -#include "lib/sdp_lib.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/sdp.h" +#include "bluetooth/sdp_lib.h" #include "src/shared/util.h" #include "src/shared/tester.h" unit/test-uuid.c +2
-2@@ -14,8 +14,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/tester.h" struct uuid_test_data {unit/test-vcp.c +2
-3@@ -20,8 +20,8 @@#include <glib.h> -#include "lib/bluetooth.h" -#include "lib/uuid.h" +#include "bluetooth/bluetooth.h" +#include "bluetooth/uuid.h" #include "src/shared/util.h" #include "src/shared/tester.h" #include "src/shared/queue.h" --2.50.0
Signature · 1 line
Luiz Augusto von Dentz
Re: [PATCH BlueZ v2 1/3] build: Move library source to lib/bluetooth
Quoted 5 lines · Luiz Augusto von Dentz
Hi Bastien,
Quoted 1 line · Bastien Nocera
Quoted 7 lines
Quoted 3 lines
This fixes the installed directory hierarchy not matching the source
directory hierarchy.Ok, but why do we need to do such a change? Doesn't meson handle installing in a different directory? If it doesn't you can probably state it or point to the documentation.
The problem isn't installing to a different directory, but the fact that public headers which mention "#include <bluetooth/bluetooth.h>" will actually want to include "lib/bluetooth.h" when building inside the bluez repo.
The autotools way was to hack it by linking all the "lib/*.h" headers into "lib/bluetooth", it's just as easy renaming them all, rather than perpetuating that hack into the meson build system.
The idiomatic way to do things, in autotools just as in meson, would be to have the header directory in the sources to be the same as when installed to /usr/include, not to use symlink'ing hacks.
We could also rename the top-level "lib/" directory to "bluetooth/", but that would be slightly non-descript when reading the sources.
I haven't looked at implementing the same autotools hack in meson, because it seemed like a better idea to just fix things, rather than continue with the brokenness. It might be possible with meson.add_postconf_script():
https://mesonbuild.com/Reference-manual_builtin_meson.html#mesonadd_postconf_script
But I'd really rather fix this hack.
Let me know what you think.
PATCH v2 2/3 client: Fix missing strdup/memset declarations
In reply to Bastien Nocerabluez/client/display.c: In function ‘rl_prompt_input’:bluez/client/display.c:112:24: error: implicit declaration of function ‘strdup’ [-Wimplicit-function-declaration]
112 | saved_prompt = strdup(rl_prompt);
| ^~~~~~bluez/client/display.c:112:24: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch] bluez/client/display.c:119:9: error: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration]
119 | memset(prompt, 0, sizeof(prompt));
| ^~~~~~
bluez/client/display.c:24:1: note: include ‘<string.h>’ or provide a declaration of ‘memset’
23 | #include "display.h"
+++ |+#include <string.h>
24 |
bluez/client/display.c:119:9: warning: incompatible implicit declaration of built-in function ‘memset’ [-Wbuiltin-declaration-mismatch]
119 | memset(prompt, 0, sizeof(prompt));
| ^~~~~~
bluez/client/display.c:119:9: note: include ‘<string.h>’ or provide a declaration of ‘memset’
---
client/display.c | 1 +
1 file changed, 1 insertion(+)client/display.c +1 -0
@@ -17,6 +17,7 @@#include <stdlib.h> #include <stdarg.h> #include <stdbool.h> +#include <string.h> #include <ctype.h> #include <readline/readline.h>
Signature · 1 line
2.50.0
PATCH v2 3/3 mesh: Fix 'buf’ may be used uninitialized warning
In reply to Bastien Nocera../dist-unpack/bluez-5.83/tools/mesh/agent.c: In function ‘response_decimal’:../dist-unpack/bluez-5.83/tools/mesh/agent.c:94:9: warning: ‘buf’ may be used uninitialized [-Wmaybe-uninitialized]
94 | bt_put_be32(atoi(input), buf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../dist-unpack/bluez-5.83/tools/mesh/agent.c:20:
../dist-unpack/bluez-5.83/lib/bluetooth/bluetooth.h:342:20: note: by argument 2 of type ‘const void *’ to ‘bt_put_be32’ declared here
342 | static inline void bt_put_be32(uint32_t val, const void *ptr)
| ^~~~~~~~~~~
../dist-unpack/bluez-5.83/tools/mesh/agent.c:88:17: note: ‘buf’ declared here
88 | uint8_t buf[DECIMAL_OOB_LEN];
| ^~~
---
tools/mesh/agent.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)tools/mesh/agent.c +1 -1
@@ -85,7 +85,7 @@ static void response_hexadecimal(const char *input, void *user_data)static void response_decimal (const char *input,void *user_data) { -uint8_t buf[DECIMAL_OOB_LEN ]; +uint8_t buf[DECIMAL_OOB_LEN ] = {0 };uint16_t len =DECIMAL_OOB_LEN ;if (strlen (input) > pending_request.len)
Signature · 1 line
2.50.0
This series was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:
Hello:
This series was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:
Quoted 9 lines · On Thu, 7 Aug 2025 17:50:28 +0200 you wrote:
Changes since v1:
- Fixed make distcheckBastien Nocera (3):
build: Move library source to lib/bluetooth
client: Fix missing strdup/memset declarations
mesh: Fix 'buf’ may be used uninitialized warning[...]
Here is the summary with links:
- [BlueZ,v2,1/3] build: Move library source to lib/bluetooth
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=ae29fcb2acc0 - [BlueZ,v2,2/3] client: Fix missing strdup/memset declarations https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=eb40539c7e5a - [BlueZ,v2,3/3] mesh: Fix 'buf’ may be used uninitialized warning https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=0cac149a4bdf
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
Hi,
The build seems to break on Fedora 41 VM, although it works on Fedora 42,
./bootstrap && ./configure && make -j12
lib/bluetooth/bluetooth.c:26:10: fatal error bluetooth.h: No such file or directory
26 | #include "bluetooth.h"
| ^~~~~~~~~~~~~
Not sure why it's not setting include paths correctly.
to, 2025-08-07 kello 17:50 +0200, Bastien Nocera kirjoitti:
Quoted 267 lines
Changes since v1:
- Fixed make distcheckBastien Nocera (3):
build: Move library source to lib/bluetooth
client: Fix missing strdup/memset declarations
mesh: Fix 'buf’ may be used uninitialized warning.gitignore | 1 - Makefile.am | 25 ++++++++----------------- attrib/att.c | 4 ++-- attrib/gatt.c | 6 +++--- attrib/gattrib.c | 4 ++-- attrib/gatttool.c | 10 +++++----- attrib/interactive.c | 6 +++--- attrib/utils.c | 10 +++++----- btio/btio.c | 10 +++++----- client/assistant.c | 4 ++-- client/display.c | 1 + client/mgmt.c | 14 +++++++------- client/player.c | 6 +++--- emulator/b1ee.c | 4 ++-- emulator/btdev.c | 4 ++-- emulator/bthost.c | 2 +- emulator/bthost.h | 2 +- emulator/hciemu.c | 4 ++-- emulator/le.c | 4 ++-- emulator/serial.c | 4 ++-- emulator/server.c | 4 ++-- emulator/smp.c | 4 ++-- emulator/vhci.c | 4 ++-- lib/{ => bluetooth}/bluetooth.c | 0 lib/{ => bluetooth}/bluetooth.h | 0 lib/{ => bluetooth}/bnep.h | 0 lib/{ => bluetooth}/cmtp.h | 0 lib/{ => bluetooth}/hci.c | 0 lib/{ => bluetooth}/hci.h | 0 lib/{ => bluetooth}/hci_lib.h | 0 lib/{ => bluetooth}/hidp.h | 0 lib/{ => bluetooth}/iso.h | 0 lib/{ => bluetooth}/l2cap.h | 0 lib/{ => bluetooth}/mgmt.h | 0 lib/{ => bluetooth}/rfcomm.h | 0 lib/{ => bluetooth}/sco.h | 0 lib/{ => bluetooth}/sdp.c | 0 lib/{ => bluetooth}/sdp.h | 0 lib/{ => bluetooth}/sdp_lib.h | 0 lib/{ => bluetooth}/uuid.c | 2 +- lib/{ => bluetooth}/uuid.h | 0 mesh/main.c | 4 ++-- mesh/mesh-io-generic.c | 4 ++-- mesh/mesh-io-mgmt.c | 6 +++--- mesh/mesh-io.c | 4 ++-- mesh/mesh-mgmt.c | 4 ++-- monitor/a2dp.c | 2 +- monitor/analyze.c | 2 +- monitor/att.c | 8 ++++---- monitor/avctp.c | 4 ++-- monitor/avdtp.c | 2 +- monitor/bnep.c | 4 ++-- monitor/control.c | 6 +++--- monitor/hcidump.c | 6 +++--- monitor/intel.c | 4 ++-- monitor/l2cap.c | 4 ++-- monitor/msft.c | 4 ++-- monitor/packet.c | 8 ++++---- monitor/rfcomm.c | 4 ++-- monitor/sdp.c | 4 ++-- obexd/client/bluetooth.c | 8 ++++---- obexd/client/map.c | 2 +- obexd/client/pbap.c | 4 ++-- obexd/plugins/bluetooth.c | 4 ++-- obexd/plugins/syncevolution.c | 2 +- peripheral/attach.c | 6 +++--- peripheral/gap.c | 4 ++-- peripheral/gatt.c | 6 +++--- plugins/admin.c | 4 ++-- plugins/autopair.c | 4 ++-- plugins/hostname.c | 4 ++-- plugins/neard.c | 6 +++--- plugins/policy.c | 8 ++++---- plugins/sixaxis.c | 6 +++--- profiles/audio/a2dp.c | 8 ++++---- profiles/audio/asha.c | 6 +++--- profiles/audio/avctp.c | 8 ++++---- profiles/audio/avdtp.c | 8 ++++---- profiles/audio/avrcp.c | 2 +- profiles/audio/bap.c | 10 +++++----- profiles/audio/bass.c | 6 +++--- profiles/audio/ccp.c | 8 ++++---- profiles/audio/control.c | 8 ++++---- profiles/audio/csip.c | 8 ++++---- profiles/audio/mcp.c | 8 ++++---- profiles/audio/media.c | 8 ++++---- profiles/audio/micp.c | 8 ++++---- profiles/audio/sink.c | 4 ++-- profiles/audio/source.c | 4 ++-- profiles/audio/transport.c | 6 +++--- profiles/audio/vcp.c | 8 ++++---- profiles/battery/bas.c | 6 +++--- profiles/battery/battery.c | 8 ++++---- profiles/cups/hcrp.c | 8 ++++---- profiles/cups/main.c | 6 +++--- profiles/cups/sdp.c | 6 +++--- profiles/cups/spp.c | 8 ++++---- profiles/deviceinfo/deviceinfo.c | 6 +++--- profiles/deviceinfo/dis.c | 6 +++--- profiles/gap/gas.c | 8 ++++---- profiles/health/hdp.c | 6 +++--- profiles/health/hdp_manager.c | 6 +++--- profiles/health/hdp_util.c | 8 ++++---- profiles/health/mcap.c | 2 +- profiles/input/device.c | 10 +++++----- profiles/input/hog-lib.c | 6 +++--- profiles/input/hog.c | 6 +++--- profiles/input/manager.c | 8 ++++---- profiles/input/server.c | 6 +++--- profiles/midi/midi.c | 6 +++--- profiles/network/bnep.c | 8 ++++---- profiles/network/connection.c | 8 ++++---- profiles/network/manager.c | 8 ++++---- profiles/network/server.c | 10 +++++----- profiles/sap/manager.c | 4 ++-- profiles/sap/server.c | 6 +++--- profiles/scanparam/scan.c | 6 +++--- profiles/scanparam/scpp.c | 6 +++--- src/adapter.c | 4 ++-- src/adapter.h | 4 ++-- src/adv_monitor.c | 4 ++-- src/advertising.c | 6 +++--- src/agent.c | 4 ++-- src/battery.c | 2 +- src/bearer.c | 4 ++-- src/device.c | 10 +++++----- src/eir.c | 6 +++--- src/eir.h | 4 ++-- src/gatt-client.c | 6 +++--- src/gatt-database.c | 10 +++++----- src/log.c | 4 ++-- src/main.c | 6 +++--- src/oui.c | 2 +- src/plugin.c | 2 +- src/profile.c | 8 ++++---- src/rfkill.c | 4 ++-- src/sdp-client.c | 6 +++--- src/sdp-xml.c | 4 ++-- src/sdpd-database.c | 6 +++--- src/sdpd-request.c | 8 ++++---- src/sdpd-server.c | 8 ++++---- src/sdpd-service.c | 6 +++--- src/service.c | 4 ++-- src/settings.c | 4 ++-- src/shared/ad.c | 4 ++-- src/shared/ad.h | 4 ++-- src/shared/asha.c | 4 ++-- src/shared/att.c | 6 +++--- src/shared/bap.c | 4 ++-- src/shared/bass.c | 4 ++-- src/shared/btp.c | 2 +- src/shared/ccp.c | 6 +++--- src/shared/csip.c | 4 ++-- src/shared/gap.c | 4 ++-- src/shared/gatt-client.c | 4 ++-- src/shared/gatt-db.c | 4 ++-- src/shared/gatt-helpers.c | 4 ++-- src/shared/gatt-server.c | 4 ++-- src/shared/log.c | 4 ++-- src/shared/mcp.c | 6 +++--- src/shared/mgmt.c | 6 +++--- src/shared/micp.c | 4 ++-- src/shared/tester.c | 4 ++-- src/shared/util.c | 2 +- src/shared/vcp.c | 4 ++-- src/storage.c | 8 ++++---- src/uuid-helper.c | 6 +++--- tools/advtest.c | 4 ++-- tools/avinfo.c | 8 ++++---- tools/avtest.c | 10 +++++----- tools/bdaddr.c | 6 +++--- tools/bluetooth-player.c | 4 ++-- tools/bnep-tester.c | 6 +++--- tools/bneptest.c | 8 ++++---- tools/btattach.c | 6 +++--- tools/btgatt-client.c | 10 +++++----- tools/btgatt-server.c | 10 +++++----- tools/btiotest.c | 2 +- tools/btmon-logger.c | 4 ++-- tools/btpclient.c | 2 +- tools/btpclientctl.c | 2 +- tools/ciptool.c | 14 +++++++------- tools/cltest.c | 8 ++++---- tools/hciattach.c | 6 +++--- tools/hciattach_ath3k.c | 6 +++--- tools/hciattach_bcm43xx.c | 6 +++--- tools/hciattach_intel.c | 6 +++--- tools/hciattach_qualcomm.c | 6 +++--- tools/hciattach_st.c | 2 +- tools/hciattach_ti.c | 6 +++--- tools/hciattach_tialt.c | 6 +++--- tools/hciconfig.c | 6 +++--- tools/hcidump.c | 4 ++-- tools/hcieventmask.c | 6 +++--- tools/hcisecfilter.c | 6 +++--- tools/hcitool.c | 6 +++--- tools/hwdb.c | 2 +- tools/ioctl-tester.c | 8 ++++---- tools/iso-tester.c | 8 ++++---- tools/isotest.c | 10 +++++----- tools/l2cap-tester.c | 6 +++--- tools/l2ping.c | 8 ++++---- tools/l2test.c | 8 ++++---- tools/mcaptest.c | 8 ++++---- tools/mesh-gatt/gatt.c | 4 ++-- tools/mesh-tester.c | 10 +++++----- tools/mesh/agent.c | 4 ++-- tools/meshctl.c | 4 ++-- tools/mgmt-tester.c | 10 +++++----- tools/oobtest.c | 4 ++-- tools/parser/hci.c | 4 ++-- tools/parser/l2cap.c | 2 +- tools/parser/lmp.c | 4 ++-- tools/parser/parser.h | 2 +- tools/rctest.c | 12 ++++++------ tools/rfcomm-tester.c | 6 +++--- tools/rfcomm.c | 8 ++++---- tools/sco-tester.c | 6 +++--- tools/scotest.c | 4 ++-- tools/sdptool.c | 10 +++++----- tools/smp-tester.c | 6 +++--- tools/test-runner.c | 6 +++--- tools/userchan-tester.c | 6 +++--- unit/avctp.c | 2 +- unit/avdtp.c | 2 +- unit/avrcp-lib.c | 2 +- unit/avrcp.c | 6 +++--- unit/test-avrcp.c | 2 +- unit/test-bap.c | 4 ++-- unit/test-bass.c | 4 ++-- unit/test-eir.c | 6 +++--- unit/test-gatt.c | 4 ++-- unit/test-gattrib.c | 4 ++-- unit/test-hog.c | 4 ++-- unit/test-lib.c | 4 ++-- unit/test-mgmt.c | 4 ++-- unit/test-micp.c | 4 ++-- unit/test-sdp.c | 6 +++--- unit/test-uuid.c | 4 ++-- unit/test-vcp.c | 4 ++-- 240 files changed, 616 insertions(+), 625 deletions(-) rename lib/{ => bluetooth}/bluetooth.c (100%) rename lib/{ => bluetooth}/bluetooth.h (100%) rename lib/{ => bluetooth}/bnep.h (100%) rename lib/{ => bluetooth}/cmtp.h (100%) rename lib/{ => bluetooth}/hci.c (100%) rename lib/{ => bluetooth}/hci.h (100%) rename lib/{ => bluetooth}/hci_lib.h (100%) rename lib/{ => bluetooth}/hidp.h (100%) rename lib/{ => bluetooth}/iso.h (100%) rename lib/{ => bluetooth}/l2cap.h (100%) rename lib/{ => bluetooth}/mgmt.h (100%) rename lib/{ => bluetooth}/rfcomm.h (100%) rename lib/{ => bluetooth}/sco.h (100%) rename lib/{ => bluetooth}/sdp.c (100%) rename lib/{ => bluetooth}/sdp.h (100%) rename lib/{ => bluetooth}/sdp_lib.h (100%) rename lib/{ => bluetooth}/uuid.c (99%) rename lib/{ => bluetooth}/uuid.h (100%)
Hi,
Sorry for the noise, this seemed to have been some local issue, can't reproduce it any more.
Pauli
ma, 2025-08-11 kello 21:32 +0300, Pauli Virtanen kirjoitti:
Quoted 282 lines
Hi,
The build seems to break on Fedora 41 VM, although it works on Fedora 42,
./bootstrap && ./configure && make -j12
lib/bluetooth/bluetooth.c:26:10: fatal errorbluetooth.h: No such file or directory
26 | #include "bluetooth.h"| ^~~~~~~~~~~~~Not sure why it's not setting include paths correctly.
to, 2025-08-07 kello 17:50 +0200, Bastien Nocera kirjoitti:
Quoted 267 lines
Changes since v1:
- Fixed make distcheckBastien Nocera (3):
build: Move library source to lib/bluetooth
client: Fix missing strdup/memset declarations
mesh: Fix 'buf’ may be used uninitialized warning.gitignore | 1 - Makefile.am | 25 ++++++++----------------- attrib/att.c | 4 ++-- attrib/gatt.c | 6 +++--- attrib/gattrib.c | 4 ++-- attrib/gatttool.c | 10 +++++----- attrib/interactive.c | 6 +++--- attrib/utils.c | 10 +++++----- btio/btio.c | 10 +++++----- client/assistant.c | 4 ++-- client/display.c | 1 + client/mgmt.c | 14 +++++++------- client/player.c | 6 +++--- emulator/b1ee.c | 4 ++-- emulator/btdev.c | 4 ++-- emulator/bthost.c | 2 +- emulator/bthost.h | 2 +- emulator/hciemu.c | 4 ++-- emulator/le.c | 4 ++-- emulator/serial.c | 4 ++-- emulator/server.c | 4 ++-- emulator/smp.c | 4 ++-- emulator/vhci.c | 4 ++-- lib/{ => bluetooth}/bluetooth.c | 0 lib/{ => bluetooth}/bluetooth.h | 0 lib/{ => bluetooth}/bnep.h | 0 lib/{ => bluetooth}/cmtp.h | 0 lib/{ => bluetooth}/hci.c | 0 lib/{ => bluetooth}/hci.h | 0 lib/{ => bluetooth}/hci_lib.h | 0 lib/{ => bluetooth}/hidp.h | 0 lib/{ => bluetooth}/iso.h | 0 lib/{ => bluetooth}/l2cap.h | 0 lib/{ => bluetooth}/mgmt.h | 0 lib/{ => bluetooth}/rfcomm.h | 0 lib/{ => bluetooth}/sco.h | 0 lib/{ => bluetooth}/sdp.c | 0 lib/{ => bluetooth}/sdp.h | 0 lib/{ => bluetooth}/sdp_lib.h | 0 lib/{ => bluetooth}/uuid.c | 2 +- lib/{ => bluetooth}/uuid.h | 0 mesh/main.c | 4 ++-- mesh/mesh-io-generic.c | 4 ++-- mesh/mesh-io-mgmt.c | 6 +++--- mesh/mesh-io.c | 4 ++-- mesh/mesh-mgmt.c | 4 ++-- monitor/a2dp.c | 2 +- monitor/analyze.c | 2 +- monitor/att.c | 8 ++++---- monitor/avctp.c | 4 ++-- monitor/avdtp.c | 2 +- monitor/bnep.c | 4 ++-- monitor/control.c | 6 +++--- monitor/hcidump.c | 6 +++--- monitor/intel.c | 4 ++-- monitor/l2cap.c | 4 ++-- monitor/msft.c | 4 ++-- monitor/packet.c | 8 ++++---- monitor/rfcomm.c | 4 ++-- monitor/sdp.c | 4 ++-- obexd/client/bluetooth.c | 8 ++++---- obexd/client/map.c | 2 +- obexd/client/pbap.c | 4 ++-- obexd/plugins/bluetooth.c | 4 ++-- obexd/plugins/syncevolution.c | 2 +- peripheral/attach.c | 6 +++--- peripheral/gap.c | 4 ++-- peripheral/gatt.c | 6 +++--- plugins/admin.c | 4 ++-- plugins/autopair.c | 4 ++-- plugins/hostname.c | 4 ++-- plugins/neard.c | 6 +++--- plugins/policy.c | 8 ++++---- plugins/sixaxis.c | 6 +++--- profiles/audio/a2dp.c | 8 ++++---- profiles/audio/asha.c | 6 +++--- profiles/audio/avctp.c | 8 ++++---- profiles/audio/avdtp.c | 8 ++++---- profiles/audio/avrcp.c | 2 +- profiles/audio/bap.c | 10 +++++----- profiles/audio/bass.c | 6 +++--- profiles/audio/ccp.c | 8 ++++---- profiles/audio/control.c | 8 ++++---- profiles/audio/csip.c | 8 ++++---- profiles/audio/mcp.c | 8 ++++---- profiles/audio/media.c | 8 ++++---- profiles/audio/micp.c | 8 ++++---- profiles/audio/sink.c | 4 ++-- profiles/audio/source.c | 4 ++-- profiles/audio/transport.c | 6 +++--- profiles/audio/vcp.c | 8 ++++---- profiles/battery/bas.c | 6 +++--- profiles/battery/battery.c | 8 ++++---- profiles/cups/hcrp.c | 8 ++++---- profiles/cups/main.c | 6 +++--- profiles/cups/sdp.c | 6 +++--- profiles/cups/spp.c | 8 ++++---- profiles/deviceinfo/deviceinfo.c | 6 +++--- profiles/deviceinfo/dis.c | 6 +++--- profiles/gap/gas.c | 8 ++++---- profiles/health/hdp.c | 6 +++--- profiles/health/hdp_manager.c | 6 +++--- profiles/health/hdp_util.c | 8 ++++---- profiles/health/mcap.c | 2 +- profiles/input/device.c | 10 +++++----- profiles/input/hog-lib.c | 6 +++--- profiles/input/hog.c | 6 +++--- profiles/input/manager.c | 8 ++++---- profiles/input/server.c | 6 +++--- profiles/midi/midi.c | 6 +++--- profiles/network/bnep.c | 8 ++++---- profiles/network/connection.c | 8 ++++---- profiles/network/manager.c | 8 ++++---- profiles/network/server.c | 10 +++++----- profiles/sap/manager.c | 4 ++-- profiles/sap/server.c | 6 +++--- profiles/scanparam/scan.c | 6 +++--- profiles/scanparam/scpp.c | 6 +++--- src/adapter.c | 4 ++-- src/adapter.h | 4 ++-- src/adv_monitor.c | 4 ++-- src/advertising.c | 6 +++--- src/agent.c | 4 ++-- src/battery.c | 2 +- src/bearer.c | 4 ++-- src/device.c | 10 +++++----- src/eir.c | 6 +++--- src/eir.h | 4 ++-- src/gatt-client.c | 6 +++--- src/gatt-database.c | 10 +++++----- src/log.c | 4 ++-- src/main.c | 6 +++--- src/oui.c | 2 +- src/plugin.c | 2 +- src/profile.c | 8 ++++---- src/rfkill.c | 4 ++-- src/sdp-client.c | 6 +++--- src/sdp-xml.c | 4 ++-- src/sdpd-database.c | 6 +++--- src/sdpd-request.c | 8 ++++---- src/sdpd-server.c | 8 ++++---- src/sdpd-service.c | 6 +++--- src/service.c | 4 ++-- src/settings.c | 4 ++-- src/shared/ad.c | 4 ++-- src/shared/ad.h | 4 ++-- src/shared/asha.c | 4 ++-- src/shared/att.c | 6 +++--- src/shared/bap.c | 4 ++-- src/shared/bass.c | 4 ++-- src/shared/btp.c | 2 +- src/shared/ccp.c | 6 +++--- src/shared/csip.c | 4 ++-- src/shared/gap.c | 4 ++-- src/shared/gatt-client.c | 4 ++-- src/shared/gatt-db.c | 4 ++-- src/shared/gatt-helpers.c | 4 ++-- src/shared/gatt-server.c | 4 ++-- src/shared/log.c | 4 ++-- src/shared/mcp.c | 6 +++--- src/shared/mgmt.c | 6 +++--- src/shared/micp.c | 4 ++-- src/shared/tester.c | 4 ++-- src/shared/util.c | 2 +- src/shared/vcp.c | 4 ++-- src/storage.c | 8 ++++---- src/uuid-helper.c | 6 +++--- tools/advtest.c | 4 ++-- tools/avinfo.c | 8 ++++---- tools/avtest.c | 10 +++++----- tools/bdaddr.c | 6 +++--- tools/bluetooth-player.c | 4 ++-- tools/bnep-tester.c | 6 +++--- tools/bneptest.c | 8 ++++---- tools/btattach.c | 6 +++--- tools/btgatt-client.c | 10 +++++----- tools/btgatt-server.c | 10 +++++----- tools/btiotest.c | 2 +- tools/btmon-logger.c | 4 ++-- tools/btpclient.c | 2 +- tools/btpclientctl.c | 2 +- tools/ciptool.c | 14 +++++++------- tools/cltest.c | 8 ++++---- tools/hciattach.c | 6 +++--- tools/hciattach_ath3k.c | 6 +++--- tools/hciattach_bcm43xx.c | 6 +++--- tools/hciattach_intel.c | 6 +++--- tools/hciattach_qualcomm.c | 6 +++--- tools/hciattach_st.c | 2 +- tools/hciattach_ti.c | 6 +++--- tools/hciattach_tialt.c | 6 +++--- tools/hciconfig.c | 6 +++--- tools/hcidump.c | 4 ++-- tools/hcieventmask.c | 6 +++--- tools/hcisecfilter.c | 6 +++--- tools/hcitool.c | 6 +++--- tools/hwdb.c | 2 +- tools/ioctl-tester.c | 8 ++++---- tools/iso-tester.c | 8 ++++---- tools/isotest.c | 10 +++++----- tools/l2cap-tester.c | 6 +++--- tools/l2ping.c | 8 ++++---- tools/l2test.c | 8 ++++---- tools/mcaptest.c | 8 ++++---- tools/mesh-gatt/gatt.c | 4 ++-- tools/mesh-tester.c | 10 +++++----- tools/mesh/agent.c | 4 ++-- tools/meshctl.c | 4 ++-- tools/mgmt-tester.c | 10 +++++----- tools/oobtest.c | 4 ++-- tools/parser/hci.c | 4 ++-- tools/parser/l2cap.c | 2 +- tools/parser/lmp.c | 4 ++-- tools/parser/parser.h | 2 +- tools/rctest.c | 12 ++++++------ tools/rfcomm-tester.c | 6 +++--- tools/rfcomm.c | 8 ++++---- tools/sco-tester.c | 6 +++--- tools/scotest.c | 4 ++-- tools/sdptool.c | 10 +++++----- tools/smp-tester.c | 6 +++--- tools/test-runner.c | 6 +++--- tools/userchan-tester.c | 6 +++--- unit/avctp.c | 2 +- unit/avdtp.c | 2 +- unit/avrcp-lib.c | 2 +- unit/avrcp.c | 6 +++--- unit/test-avrcp.c | 2 +- unit/test-bap.c | 4 ++-- unit/test-bass.c | 4 ++-- unit/test-eir.c | 6 +++--- unit/test-gatt.c | 4 ++-- unit/test-gattrib.c | 4 ++-- unit/test-hog.c | 4 ++-- unit/test-lib.c | 4 ++-- unit/test-mgmt.c | 4 ++-- unit/test-micp.c | 4 ++-- unit/test-sdp.c | 6 +++--- unit/test-uuid.c | 4 ++-- unit/test-vcp.c | 4 ++-- 240 files changed, 616 insertions(+), 625 deletions(-) rename lib/{ => bluetooth}/bluetooth.c (100%) rename lib/{ => bluetooth}/bluetooth.h (100%) rename lib/{ => bluetooth}/bnep.h (100%) rename lib/{ => bluetooth}/cmtp.h (100%) rename lib/{ => bluetooth}/hci.c (100%) rename lib/{ => bluetooth}/hci.h (100%) rename lib/{ => bluetooth}/hci_lib.h (100%) rename lib/{ => bluetooth}/hidp.h (100%) rename lib/{ => bluetooth}/iso.h (100%) rename lib/{ => bluetooth}/l2cap.h (100%) rename lib/{ => bluetooth}/mgmt.h (100%) rename lib/{ => bluetooth}/rfcomm.h (100%) rename lib/{ => bluetooth}/sco.h (100%) rename lib/{ => bluetooth}/sdp.c (100%) rename lib/{ => bluetooth}/sdp.h (100%) rename lib/{ => bluetooth}/sdp_lib.h (100%) rename lib/{ => bluetooth}/uuid.c (99%) rename lib/{ => bluetooth}/uuid.h (100%)