diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2007-03-16 18:17:27 +0000 | 
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2007-03-16 18:17:27 +0000 | 
| commit | 57821cca7bfdb47cd3ddc32e70b6779a4a6cca2d (patch) | |
| tree | 4f5dff1b050b15ad635167b382c6b36dc0f016ec | |
| parent | 74b17da9af9fb4930677000ccbd74495adb3d4c6 (diff) | |
Add error specific skeleton files
| -rw-r--r-- | input/Makefile.am | 4 | ||||
| -rw-r--r-- | input/error.c | 28 | ||||
| -rw-r--r-- | input/error.h | 22 | ||||
| -rw-r--r-- | network/Makefile.am | 3 | ||||
| -rw-r--r-- | network/error.c | 28 | ||||
| -rw-r--r-- | network/error.h | 22 | 
6 files changed, 104 insertions, 3 deletions
| diff --git a/input/Makefile.am b/input/Makefile.am index 523e001b..576580f9 100644 --- a/input/Makefile.am +++ b/input/Makefile.am @@ -11,8 +11,8 @@ servicedir = $(libdir)/bluetooth  service_PROGRAMS = bluetoothd-service-input  bluetoothd_service_input_SOURCES = main.c \ -	manager.h manager.c server.h server.c \ -	device.h device.c storage.h storage.c +	manager.h manager.c error.h error.c \ +	server.h server.c device.h device.c storage.h storage.c  LDADD = $(top_builddir)/common/libhelper.a \  		@GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@ diff --git a/input/error.c b/input/error.c new file mode 100644 index 00000000..55c459da --- /dev/null +++ b/input/error.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 "error.h" diff --git a/input/error.h b/input/error.h new file mode 100644 index 00000000..e87dd676 --- /dev/null +++ b/input/error.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/Makefile.am b/network/Makefile.am index ab7fe934..22a7aef3 100644 --- a/network/Makefile.am +++ b/network/Makefile.am @@ -11,7 +11,8 @@ servicedir = $(libdir)/bluetooth  noinst_PROGRAMS = bluetoothd-service-network  bluetoothd_service_network_SOURCES = main.c \ -	manager.h manager.c server.h server.c connection.h connection.c +	manager.h manager.c error.h error.c \ +	server.h server.c connection.h connection.c  LDADD = $(top_builddir)/common/libhelper.a \  		@GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@ diff --git a/network/error.c b/network/error.c new file mode 100644 index 00000000..55c459da --- /dev/null +++ b/network/error.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 "error.h" diff --git a/network/error.h b/network/error.h new file mode 100644 index 00000000..e87dd676 --- /dev/null +++ b/network/error.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 + * + */ | 
