diff options
Diffstat (limited to 'network')
| -rw-r--r-- | network/Makefile.am | 15 | ||||
| -rw-r--r-- | network/connection.c | 28 | ||||
| -rw-r--r-- | network/connection.h | 22 | ||||
| -rw-r--r-- | network/main.c | 2 | ||||
| -rw-r--r-- | network/manager.c | 28 | ||||
| -rw-r--r-- | network/manager.h | 22 | ||||
| -rw-r--r-- | network/server.c | 28 | ||||
| -rw-r--r-- | network/server.h | 22 | 
8 files changed, 164 insertions, 3 deletions
| diff --git a/network/Makefile.am b/network/Makefile.am index 362c7af6..fe6e3110 100644 --- a/network/Makefile.am +++ b/network/Makefile.am @@ -1,15 +1,26 @@ +if NETWORKSERVICE +if CONFIGFILES +confdir = $(sysconfdir)/bluetooth + +conf_DATA = network.service +endif +  servicedir = $(libdir)/bluetooth  noinst_PROGRAMS = bluetoothd-service-network -bluetoothd_service_network_SOURCES = main.c +bluetoothd_service_network_SOURCES = main.c \ +	manager.h manager.c server.h server.c connection.h connection.c  LDADD = $(top_builddir)/common/libhelper.a \ -	@DBUS_LIBS@ @BLUEZ_LIBS@ +			@DBUS_LIBS@ @BLUEZ_LIBS@ +endif  AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@  INCLUDES = -I$(top_srcdir)/common +EXTRA_DIST = network.service network-api.txt +  MAINTAINERCLEANFILES = Makefile.in diff --git a/network/connection.c b/network/connection.c new file mode 100644 index 00000000..bd733cb2 --- /dev/null +++ b/network/connection.c @@ -0,0 +1,28 @@ +/* + * + *  BlueZ - Bluetooth protocol stack for Linux + * + *  Copyright (C) 2004-2007  Marcel Holtmann <marcel@holtmann.org> + * + * + *  This program is free software; you can redistribute it and/or modify + *  it under the terms of the GNU General Public License as published by + *  the Free Software Foundation; either version 2 of the License, or + *  (at your option) any later version. + * + *  This program is distributed in the hope that it will be useful, + *  but WITHOUT ANY WARRANTY; without even the implied warranty of + *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the + *  GNU General Public License for more details. + * + *  You should have received a copy of the GNU General Public License + *  along with this program; if not, write to the Free Software + *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA + * + */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "connection.h" diff --git a/network/connection.h b/network/connection.h new file mode 100644 index 00000000..e87dd676 --- /dev/null +++ b/network/connection.h @@ -0,0 +1,22 @@ +/* + * + *  BlueZ - Bluetooth protocol stack for Linux + * + *  Copyright (C) 2004-2007  Marcel Holtmann <marcel@holtmann.org> + * + * + *  This program is free software; you can redistribute it and/or modify + *  it under the terms of the GNU General Public License as published by + *  the Free Software Foundation; either version 2 of the License, or + *  (at your option) any later version. + * + *  This program is distributed in the hope that it will be useful, + *  but WITHOUT ANY WARRANTY; without even the implied warranty of + *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the + *  GNU General Public License for more details. + * + *  You should have received a copy of the GNU General Public License + *  along with this program; if not, write to the Free Software + *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA + * + */ diff --git a/network/main.c b/network/main.c index c04bb251..7f643c58 100644 --- a/network/main.c +++ b/network/main.c @@ -2,7 +2,7 @@   *   *  BlueZ - Bluetooth protocol stack for Linux   * - *  Copyright (C) 2005-2006  Marcel Holtmann <marcel@holtmann.org> + *  Copyright (C) 2004-2007  Marcel Holtmann <marcel@holtmann.org>   *   *   *  This program is free software; you can redistribute it and/or modify diff --git a/network/manager.c b/network/manager.c new file mode 100644 index 00000000..90d20927 --- /dev/null +++ b/network/manager.c @@ -0,0 +1,28 @@ +/* + * + *  BlueZ - Bluetooth protocol stack for Linux + * + *  Copyright (C) 2004-2007  Marcel Holtmann <marcel@holtmann.org> + * + * + *  This program is free software; you can redistribute it and/or modify + *  it under the terms of the GNU General Public License as published by + *  the Free Software Foundation; either version 2 of the License, or + *  (at your option) any later version. + * + *  This program is distributed in the hope that it will be useful, + *  but WITHOUT ANY WARRANTY; without even the implied warranty of + *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the + *  GNU General Public License for more details. + * + *  You should have received a copy of the GNU General Public License + *  along with this program; if not, write to the Free Software + *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA + * + */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "manager.h" diff --git a/network/manager.h b/network/manager.h new file mode 100644 index 00000000..e87dd676 --- /dev/null +++ b/network/manager.h @@ -0,0 +1,22 @@ +/* + * + *  BlueZ - Bluetooth protocol stack for Linux + * + *  Copyright (C) 2004-2007  Marcel Holtmann <marcel@holtmann.org> + * + * + *  This program is free software; you can redistribute it and/or modify + *  it under the terms of the GNU General Public License as published by + *  the Free Software Foundation; either version 2 of the License, or + *  (at your option) any later version. + * + *  This program is distributed in the hope that it will be useful, + *  but WITHOUT ANY WARRANTY; without even the implied warranty of + *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the + *  GNU General Public License for more details. + * + *  You should have received a copy of the GNU General Public License + *  along with this program; if not, write to the Free Software + *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA + * + */ diff --git a/network/server.c b/network/server.c new file mode 100644 index 00000000..b8fe0382 --- /dev/null +++ b/network/server.c @@ -0,0 +1,28 @@ +/* + * + *  BlueZ - Bluetooth protocol stack for Linux + * + *  Copyright (C) 2004-2007  Marcel Holtmann <marcel@holtmann.org> + * + * + *  This program is free software; you can redistribute it and/or modify + *  it under the terms of the GNU General Public License as published by + *  the Free Software Foundation; either version 2 of the License, or + *  (at your option) any later version. + * + *  This program is distributed in the hope that it will be useful, + *  but WITHOUT ANY WARRANTY; without even the implied warranty of + *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the + *  GNU General Public License for more details. + * + *  You should have received a copy of the GNU General Public License + *  along with this program; if not, write to the Free Software + *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA + * + */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "server.h" diff --git a/network/server.h b/network/server.h new file mode 100644 index 00000000..e87dd676 --- /dev/null +++ b/network/server.h @@ -0,0 +1,22 @@ +/* + * + *  BlueZ - Bluetooth protocol stack for Linux + * + *  Copyright (C) 2004-2007  Marcel Holtmann <marcel@holtmann.org> + * + * + *  This program is free software; you can redistribute it and/or modify + *  it under the terms of the GNU General Public License as published by + *  the Free Software Foundation; either version 2 of the License, or + *  (at your option) any later version. + * + *  This program is distributed in the hope that it will be useful, + *  but WITHOUT ANY WARRANTY; without even the implied warranty of + *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the + *  GNU General Public License for more details. + * + *  You should have received a copy of the GNU General Public License + *  along with this program; if not, write to the Free Software + *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA + * + */ | 
