summaryrefslogtreecommitdiffstats
path: root/transfer
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-01-21 00:31:22 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-01-21 00:31:22 +0000
commitc99b8b8c60abafb5297aab41d7ac224c3cf1aeca (patch)
tree1570b9b8a4e81fbd03b0378953af6ddf319dfd79 /transfer
parent41ed62a0cc0aef8359786e8dbb86c023fb52d1c7 (diff)
Add skeleton for server implementation
Diffstat (limited to 'transfer')
-rw-r--r--transfer/Makefile.am2
-rw-r--r--transfer/server.c28
-rw-r--r--transfer/server.h22
3 files changed, 51 insertions, 1 deletions
diff --git a/transfer/Makefile.am b/transfer/Makefile.am
index 04a6bbfe..b8392b50 100644
--- a/transfer/Makefile.am
+++ b/transfer/Makefile.am
@@ -5,7 +5,7 @@ servicedir = $(libdir)/bluetooth
noinst_PROGRAMS = bluetoothd-service-transfer
bluetoothd_service_transfer_SOURCES = \
- main.c session.h session.c
+ main.c server.h server.c session.h session.c
LDADD = $(top_builddir)/common/libhelper.a \
@GLIB_LIBS@ @DBUS_LIBS@ @OPENOBEX_LIBS@ @BLUEZ_LIBS@
diff --git a/transfer/server.c b/transfer/server.c
new file mode 100644
index 00000000..b6ed01ab
--- /dev/null
+++ b/transfer/server.c
@@ -0,0 +1,28 @@
+/*
+ *
+ * BlueZ - Bluetooth protocol stack for Linux
+ *
+ * Copyright (C) 2006-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/transfer/server.h b/transfer/server.h
new file mode 100644
index 00000000..bc4c495a
--- /dev/null
+++ b/transfer/server.h
@@ -0,0 +1,22 @@
+/*
+ *
+ * BlueZ - Bluetooth protocol stack for Linux
+ *
+ * Copyright (C) 2006-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
+ *
+ */