OSDN Git Service

Move hcid to src directory and rename it to bluetoothd
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 29 Jul 2008 18:35:12 +0000 (20:35 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 29 Jul 2008 18:35:12 +0000 (20:35 +0200)
66 files changed:
Makefile.am
audio/Makefile.am
audio/manager.c
configure.in
input/Makefile.am
input/manager.c
network/Makefile.am
network/connection.c
network/server.c
plugins/Makefile.am
serial/Makefile.am
serial/manager.c
serial/port.c
src/Makefile.am [moved from hcid/Makefile.am with 91% similarity]
src/adapter.c [moved from hcid/adapter.c with 100% similarity]
src/adapter.h [moved from hcid/adapter.h with 100% similarity]
src/agent.c [moved from hcid/agent.c with 100% similarity]
src/agent.h [moved from hcid/agent.h with 100% similarity]
src/bluetooth.conf [moved from hcid/bluetooth.conf with 100% similarity]
src/dbus-api.txt [moved from hcid/dbus-api.txt with 100% similarity]
src/dbus-common.c [moved from hcid/dbus-common.c with 100% similarity]
src/dbus-common.h [moved from hcid/dbus-common.h with 100% similarity]
src/dbus-database.c [moved from hcid/dbus-database.c with 100% similarity]
src/dbus-database.h [moved from hcid/dbus-database.h with 100% similarity]
src/dbus-hci.c [moved from hcid/dbus-hci.c with 100% similarity]
src/dbus-hci.h [moved from hcid/dbus-hci.h with 100% similarity]
src/dbus-service.c [moved from hcid/dbus-service.c with 100% similarity]
src/dbus-service.h [moved from hcid/dbus-service.h with 100% similarity]
src/device.c [moved from hcid/device.c with 100% similarity]
src/device.h [moved from hcid/device.h with 100% similarity]
src/hcid.8 [moved from hcid/hcid.8 with 100% similarity]
src/hcid.conf [moved from hcid/hcid.conf with 100% similarity]
src/hcid.conf.5 [moved from hcid/hcid.conf.5 with 100% similarity]
src/hcid.h [moved from hcid/hcid.h with 100% similarity]
src/kword.c [moved from hcid/kword.c with 100% similarity]
src/kword.h [moved from hcid/kword.h with 100% similarity]
src/lexer.l [moved from hcid/lexer.l with 100% similarity]
src/list-devices [moved from hcid/list-devices with 100% similarity]
src/main.c [moved from hcid/main.c with 100% similarity]
src/manager.c [moved from hcid/manager.c with 100% similarity]
src/manager.h [moved from hcid/manager.h with 100% similarity]
src/parser.y [moved from hcid/parser.y with 100% similarity]
src/plugin.c [moved from hcid/plugin.c with 100% similarity]
src/plugin.h [moved from hcid/plugin.h with 100% similarity]
src/sdpd-database.c [moved from hcid/sdpd-database.c with 100% similarity]
src/sdpd-request.c [moved from hcid/sdpd-request.c with 100% similarity]
src/sdpd-server.c [moved from hcid/sdpd-server.c with 100% similarity]
src/sdpd-service.c [moved from hcid/sdpd-service.c with 100% similarity]
src/sdpd.h [moved from hcid/sdpd.h with 100% similarity]
src/security.c [moved from hcid/security.c with 100% similarity]
src/server.c [moved from hcid/server.c with 100% similarity]
src/server.h [moved from hcid/server.h with 100% similarity]
src/service-did.xml [moved from hcid/service-did.xml with 100% similarity]
src/service-ftp.xml [moved from hcid/service-ftp.xml with 100% similarity]
src/service-opp.xml [moved from hcid/service-opp.xml with 100% similarity]
src/service-record.dtd [moved from hcid/service-record.dtd with 100% similarity]
src/service-spp.xml [moved from hcid/service-spp.xml with 100% similarity]
src/simple-agent [moved from hcid/simple-agent with 100% similarity]
src/simple-service [moved from hcid/simple-service with 100% similarity]
src/storage.c [moved from hcid/storage.c with 100% similarity]
src/telephony.c [moved from hcid/telephony.c with 100% similarity]
src/telephony.h [moved from hcid/telephony.h with 100% similarity]
src/test-adapter [moved from hcid/test-adapter with 100% similarity]
src/test-device [moved from hcid/test-device with 100% similarity]
src/test-discovery [moved from hcid/test-discovery with 100% similarity]
src/test-manager [moved from hcid/test-manager with 100% similarity]

index 2b0708b..f372db0 100644 (file)
@@ -1,6 +1,6 @@
 
 SUBDIRS = include lib doc \
-               sbc gdbus common hcid plugins \
+               sbc gdbus common src plugins \
                network serial input audio \
                tools rfcomm dund pand hidd \
                cups test scripts
index 0c6acfa..bd54e9c 100644 (file)
@@ -55,7 +55,7 @@ endif
 
 AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@
 
-INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/hcid -I$(top_srcdir)/sdpd
+INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/src
 
 EXTRA_DIST = audio.conf audio-api.txt test-audio asound.conf
 
index cb33158..b1da842 100644 (file)
@@ -49,8 +49,8 @@
 #include <gdbus.h>
 
 #include "glib-helper.h"
-#include "../hcid/adapter.h"
-#include "../hcid/device.h"
+#include "../src/adapter.h"
+#include "../src/device.h"
 
 #include "dbus-service.h"
 #include "logging.h"
index 54e9a5f..9e77f14 100644 (file)
@@ -39,10 +39,11 @@ AC_OUTPUT([
        Makefile
        include/Makefile
        lib/Makefile
-       doc/Makefile
-       sbc/Makefile
        gdbus/Makefile
        common/Makefile
+       src/Makefile
+       doc/Makefile
+       sbc/Makefile
        plugins/Makefile
        network/Makefile
        serial/Makefile
@@ -50,7 +51,6 @@ AC_OUTPUT([
        audio/Makefile
        tools/Makefile
        rfcomm/Makefile
-       hcid/Makefile
        dund/Makefile
        pand/Makefile
        hidd/Makefile
index 1bc81fb..44f416e 100644 (file)
@@ -17,7 +17,7 @@ AM_LDFLAGS = -module -avoid-version -no-undefined \
 
 AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@
 
-INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/hcid
+INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/src
 
 EXTRA_DIST = input.conf input-api.txt test-input
 
index 6e53779..0860960 100644 (file)
@@ -44,8 +44,8 @@
 
 #include "logging.h"
 #include "textfile.h"
-#include "../hcid/adapter.h"
-#include "../hcid/device.h"
+#include "../src/adapter.h"
+#include "../src/device.h"
 
 #include "device.h"
 #include "server.h"
index 15208f5..71291d9 100644 (file)
@@ -17,7 +17,7 @@ AM_LDFLAGS = -module -avoid-version -no-undefined \
 
 AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@
 
-INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/hcid -I$(top_srcdir)/sdpd
+INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/src
 
 EXTRA_DIST = network.conf network-api.txt test-network
 
index d0b60c8..a25beb2 100644 (file)
@@ -42,7 +42,7 @@
 #include <glib.h>
 #include <gdbus.h>
 
-#include "../hcid/dbus-common.h"
+#include "../src/dbus-common.h"
 
 #include "logging.h"
 #include "textfile.h"
index e94964a..1f57a17 100644 (file)
@@ -46,7 +46,7 @@
 #include <glib.h>
 #include <gdbus.h>
 
-#include "../hcid/dbus-common.h"
+#include "../src/dbus-common.h"
 
 #include "logging.h"
 #include "error.h"
index a8e833d..d88d9db 100644 (file)
@@ -26,7 +26,7 @@ AM_LDFLAGS = -module -avoid-version -no-undefined \
 
 AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@ @NETLINK_CFLAGS@
 
-INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/hcid
+INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/src
 
 MAINTAINERCLEANFILES = Makefile.in
 
index 0e6c47f..ef215e4 100644 (file)
@@ -17,7 +17,7 @@ AM_LDFLAGS = -module -avoid-version -no-undefined \
 
 AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@
 
-INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/hcid -I$(top_srcdir)/sdpd
+INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/src
 
 EXTRA_DIST = serial-api.txt test-serial
 
index 06445dc..79d7cb8 100644 (file)
@@ -51,7 +51,7 @@
 #include <glib.h>
 #include <gdbus.h>
 
-#include "../hcid/dbus-common.h"
+#include "../src/dbus-common.h"
 #include "adapter.h"
 #include "device.h"
 
index 7edd530..57475c5 100644 (file)
@@ -44,7 +44,7 @@
 #include <glib.h>
 #include <gdbus.h>
 
-#include "../hcid/dbus-common.h"
+#include "../src/dbus-common.h"
 
 #include "logging.h"
 #include "glib-helper.h"
similarity index 91%
rename from hcid/Makefile.am
rename to src/Makefile.am
index e9d93a3..4e8a931 100644 (file)
@@ -13,9 +13,9 @@ statedir = $(localstatedir)/lib/bluetooth
 state_DATA =
 endif
 
-sbin_PROGRAMS = hcid
+sbin_PROGRAMS = bluetoothd
 
-hcid_SOURCES = main.c hcid.h sdpd.h \
+bluetoothd_SOURCES = main.c hcid.h sdpd.h \
        sdpd-server.c sdpd-request.c sdpd-service.c \
        sdpd-database.c security.c storage.c \
        parser.h parser.y lexer.l kword.c kword.h \
@@ -26,7 +26,7 @@ hcid_SOURCES = main.c hcid.h sdpd.h \
        dbus-hci.h dbus-hci.c \
        telephony.h telephony.c agent.h agent.c
 
-hcid_LDADD = $(top_builddir)/common/libhelper.a \
+bluetoothd_LDADD = $(top_builddir)/common/libhelper.a \
        @GDBUS_LIBS@ @GMODULE_LIBS@ @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@
 
 if MAINTAINER_MODE
similarity index 100%
rename from hcid/adapter.c
rename to src/adapter.c
similarity index 100%
rename from hcid/adapter.h
rename to src/adapter.h
similarity index 100%
rename from hcid/agent.c
rename to src/agent.c
similarity index 100%
rename from hcid/agent.h
rename to src/agent.h
similarity index 100%
rename from hcid/bluetooth.conf
rename to src/bluetooth.conf
similarity index 100%
rename from hcid/dbus-api.txt
rename to src/dbus-api.txt
similarity index 100%
rename from hcid/dbus-common.c
rename to src/dbus-common.c
similarity index 100%
rename from hcid/dbus-common.h
rename to src/dbus-common.h
similarity index 100%
rename from hcid/dbus-database.c
rename to src/dbus-database.c
similarity index 100%
rename from hcid/dbus-database.h
rename to src/dbus-database.h
similarity index 100%
rename from hcid/dbus-hci.c
rename to src/dbus-hci.c
similarity index 100%
rename from hcid/dbus-hci.h
rename to src/dbus-hci.h
similarity index 100%
rename from hcid/dbus-service.c
rename to src/dbus-service.c
similarity index 100%
rename from hcid/dbus-service.h
rename to src/dbus-service.h
similarity index 100%
rename from hcid/device.c
rename to src/device.c
similarity index 100%
rename from hcid/device.h
rename to src/device.h
similarity index 100%
rename from hcid/hcid.8
rename to src/hcid.8
similarity index 100%
rename from hcid/hcid.conf
rename to src/hcid.conf
similarity index 100%
rename from hcid/hcid.conf.5
rename to src/hcid.conf.5
similarity index 100%
rename from hcid/hcid.h
rename to src/hcid.h
similarity index 100%
rename from hcid/kword.c
rename to src/kword.c
similarity index 100%
rename from hcid/kword.h
rename to src/kword.h
similarity index 100%
rename from hcid/lexer.l
rename to src/lexer.l
similarity index 100%
rename from hcid/list-devices
rename to src/list-devices
similarity index 100%
rename from hcid/main.c
rename to src/main.c
similarity index 100%
rename from hcid/manager.c
rename to src/manager.c
similarity index 100%
rename from hcid/manager.h
rename to src/manager.h
similarity index 100%
rename from hcid/parser.y
rename to src/parser.y
similarity index 100%
rename from hcid/plugin.c
rename to src/plugin.c
similarity index 100%
rename from hcid/plugin.h
rename to src/plugin.h
similarity index 100%
rename from hcid/sdpd-database.c
rename to src/sdpd-database.c
similarity index 100%
rename from hcid/sdpd-request.c
rename to src/sdpd-request.c
similarity index 100%
rename from hcid/sdpd-server.c
rename to src/sdpd-server.c
similarity index 100%
rename from hcid/sdpd-service.c
rename to src/sdpd-service.c
similarity index 100%
rename from hcid/sdpd.h
rename to src/sdpd.h
similarity index 100%
rename from hcid/security.c
rename to src/security.c
similarity index 100%
rename from hcid/server.c
rename to src/server.c
similarity index 100%
rename from hcid/server.h
rename to src/server.h
similarity index 100%
rename from hcid/service-did.xml
rename to src/service-did.xml
similarity index 100%
rename from hcid/service-ftp.xml
rename to src/service-ftp.xml
similarity index 100%
rename from hcid/service-opp.xml
rename to src/service-opp.xml
similarity index 100%
rename from hcid/service-spp.xml
rename to src/service-spp.xml
similarity index 100%
rename from hcid/simple-agent
rename to src/simple-agent
similarity index 100%
rename from hcid/simple-service
rename to src/simple-service
similarity index 100%
rename from hcid/storage.c
rename to src/storage.c
similarity index 100%
rename from hcid/telephony.c
rename to src/telephony.c
similarity index 100%
rename from hcid/telephony.h
rename to src/telephony.h
similarity index 100%
rename from hcid/test-adapter
rename to src/test-adapter
similarity index 100%
rename from hcid/test-device
rename to src/test-device
similarity index 100%
rename from hcid/test-discovery
rename to src/test-discovery
similarity index 100%
rename from hcid/test-manager
rename to src/test-manager