diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-11-13 15:04:48 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-11-13 15:04:48 +0000 |
commit | d0f6da96bcbb1ba20d7508294733ab46519e07b2 (patch) | |
tree | 6b626831383e52e9ae538f86964e9df1cbe1b28f | |
parent | 8512236a405d345e4a9c19d47e593cbf2fec81e3 (diff) |
Add skeleton for headset daemon
-rw-r--r-- | audio/Makefile.am | 6 | ||||
-rw-r--r-- | audio/headset.c | 34 |
2 files changed, 39 insertions, 1 deletions
diff --git a/audio/Makefile.am b/audio/Makefile.am index f32ed946..054def33 100644 --- a/audio/Makefile.am +++ b/audio/Makefile.am @@ -1,10 +1,14 @@ -noinst_PROGRAMS = bt.audiod +noinst_PROGRAMS = bt.audiod bt.headsetd bt_audiod_SOURCES = main.c bt_audiod_LDADD = @DBUS_LIBS@ @BLUEZ_LIBS@ $(top_builddir)/common/libhelper.a +bt_headsetd_SOURCES = headset.c + +bt_headsetd_LDADD = @DBUS_LIBS@ @BLUEZ_LIBS@ $(top_builddir)/common/libhelper.a + AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ INCLUDES = -I$(top_srcdir)/common diff --git a/audio/headset.c b/audio/headset.c new file mode 100644 index 00000000..c04bb251 --- /dev/null +++ b/audio/headset.c @@ -0,0 +1,34 @@ +/* + * + * BlueZ - Bluetooth protocol stack for Linux + * + * Copyright (C) 2005-2006 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 <stdio.h> +#include <errno.h> + +int main(int argc, char *argv[]) +{ + return 0; +} |