core: Rename hcid.h to btd.h
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 28 Oct 2020 21:53:36 +0000 (14:53 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:33 +0000 (19:08 +0530)
Since we use btd term for daemon APIs it makes sense to use it also
for the header name instead of hcid.

Change-Id: Ib2c8e730fa5fd4bf4119fb245c958fa0450e3e11
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
16 files changed:
Makefile.am
plugins/dbusoob.c
plugins/neard.c
plugins/policy.c
profiles/audio/a2dp.c
profiles/audio/avdtp.c
profiles/scanparam/scan.c
src/adapter.c
src/agent.c
src/btd.h [moved from src/hcid.h with 100% similarity]
src/device.c
src/gatt-client.c
src/gatt-database.c
src/main.c
src/plugin.c
src/rfkill.c

index d975439..2bd5aac 100755 (executable)
@@ -274,7 +274,7 @@ src_bluetoothd_SOURCES = $(builtin_sources) \
                        src/bluetooth.ver \
                        src/main.c src/log.h src/log.c \
                        src/backtrace.h src/backtrace.c \
-                       src/rfkill.c src/hcid.h src/sdpd.h \
+                       src/rfkill.c src/btd.h src/sdpd.h \
                        src/sdpd-server.c src/sdpd-request.c \
                        src/sdpd-service.c src/sdpd-database.c \
                        src/attrib-server.h src/attrib-server.c \
index bb37d99..c04b4b3 100755 (executable)
@@ -42,7 +42,7 @@
 #include "src/device.h"
 #include "src/eir.h"
 #include "src/agent.h"
-#include "src/hcid.h"
+#include "src/btd.h"
 #include "src/error.h"
 
 #define OOB_INTERFACE  "org.bluez.OutOfBand"
index f3b58b6..8427761 100755 (executable)
@@ -28,7 +28,7 @@
 #include "src/device.h"
 #include "src/eir.h"
 #include "src/agent.h"
-#include "src/hcid.h"
+#include "src/btd.h"
 
 #define NEARD_NAME "org.neard"
 #define NEARD_PATH "/"
index 98fedcf..5e17c39 100755 (executable)
@@ -30,7 +30,7 @@
 #include "src/device.h"
 #include "src/service.h"
 #include "src/profile.h"
-#include "src/hcid.h"
+#include "src/btd.h"
 
 #ifdef TIZEN_FEATURE_BLUEZ_MODIFY
 #define CONTROL_CONNECT_TIMEOUT 4
index f5cae4b..618e22b 100644 (file)
@@ -28,7 +28,7 @@
 
 #include "gdbus/gdbus.h"
 
-#include "src/hcid.h"
+#include "src/btd.h"
 #include "src/plugin.h"
 #include "src/adapter.h"
 #include "src/device.h"
index 7eddeb8..3cc6884 100644 (file)
@@ -34,7 +34,7 @@
 #endif /* TIZEN_FEATURE_BLUEZ_MODIFY */
 
 #include "btio/btio.h"
-#include "src/hcid.h"
+#include "src/btd.h"
 #include "src/log.h"
 #include "src/shared/util.h"
 #include "src/shared/queue.h"
index 41350c9..739a9a4 100755 (executable)
@@ -32,7 +32,7 @@
 #include "src/shared/gatt-db.h"
 #include "src/shared/gatt-client.h"
 #include "attrib/att.h"
-#include "src/hcid.h"
+#include "src/btd.h"
 
 #define SCAN_INTERVAL_WIN_UUID         0x2A4F
 #define SCAN_REFRESH_UUID              0x2A31
index 8da4293..eddfeb2 100644 (file)
@@ -47,7 +47,7 @@
 #include "src/shared/gatt-db.h"
 
 #include "btio/btio.h"
-#include "hcid.h"
+#include "btd.h"
 #include "sdpd.h"
 #include "adapter.h"
 #include "device.h"
index 770a638..7d66cf5 100755 (executable)
@@ -30,7 +30,7 @@
 
 #include "log.h"
 #include "error.h"
-#include "hcid.h"
+#include "btd.h"
 #include "dbus-common.h"
 #include "adapter.h"
 #include "device.h"
similarity index 100%
rename from src/hcid.h
rename to src/btd.h
index adfd656..f85f5a3 100644 (file)
@@ -43,7 +43,7 @@
 #include "btio/btio.h"
 #include "lib/mgmt.h"
 #include "attrib/att.h"
-#include "hcid.h"
+#include "btd.h"
 #include "adapter.h"
 #include "gatt-database.h"
 #include "attrib/gattrib.h"
index e38e1ed..e34c944 100644 (file)
@@ -29,7 +29,7 @@
 
 #include "log.h"
 #include "error.h"
-#include "hcid.h"
+#include "btd.h"
 #include "adapter.h"
 #include "device.h"
 #include "src/shared/io.h"
index 73785c9..30c09b2 100644 (file)
@@ -31,7 +31,7 @@
 #include "src/shared/gatt-server.h"
 #include "log.h"
 #include "error.h"
-#include "hcid.h"
+#include "btd.h"
 #include "adapter.h"
 #include "device.h"
 #include "gatt-database.h"
index d3e0a80..969091d 100755 (executable)
@@ -41,7 +41,7 @@
 #include "shared/mainloop.h"
 #include "lib/uuid.h"
 #include "shared/util.h"
-#include "hcid.h"
+#include "btd.h"
 #include "sdpd.h"
 #include "adapter.h"
 #include "device.h"
index 6fe394f..dd7b406 100755 (executable)
@@ -24,7 +24,7 @@
 #include "btio/btio.h"
 #include "src/plugin.h"
 #include "src/log.h"
-#include "src/hcid.h"
+#include "src/btd.h"
 
 static GSList *plugins = NULL;
 
index bbbb070..c57b776 100755 (executable)
@@ -27,7 +27,7 @@
 
 #include "log.h"
 #include "adapter.h"
-#include "hcid.h"
+#include "btd.h"
 
 enum rfkill_type {
        RFKILL_TYPE_ALL = 0,