Diff between c6155076be9b9bab0651d37429a860de8ca0e3f4 and bff6703d6bac440bcf4e87c35892b34664852169

Changed Files

File Additions Deletions Status
.gitignore +1 -0 modified
Makefile.tools +6 -1 modified
tools/obexctl.c +31 -0 added

Full Patch

diff --git a/.gitignore b/.gitignore
index e492c3f..6b97247 100644
--- a/.gitignore
+++ b/.gitignore
@@ -65,6 +65,7 @@ tools/bluetooth-player
 tools/l2cap-tester
 tools/sco-tester
 tools/btinfo
+tools/obexctl
 test/sap_client.pyc
 test/bluezutils.pyc
 unit/test-eir
diff --git a/Makefile.tools b/Makefile.tools
index 87bb62e..840b95c 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -218,7 +218,7 @@ endif
 if READLINE
 noinst_PROGRAMS += attrib/gatttool \
 			tools/obex-client-tool tools/obex-server-tool \
-			tools/bluetooth-player
+			tools/bluetooth-player tools/obexctl
 
 attrib_gatttool_SOURCES = attrib/gatttool.c attrib/att.c attrib/gatt.c \
 				attrib/gattrib.c btio/btio.c \
@@ -240,6 +240,11 @@ tools_bluetooth_player_SOURCES = tools/bluetooth-player.c \
 				client/display.h client/display.c
 tools_bluetooth_player_LDADD = gdbus/libgdbus-internal.la \
 				@GLIB_LIBS@ @DBUS_LIBS@ -lreadline
+
+tools_obexctl_SOURCES = tools/obexctl.c \
+				client/display.h client/display.c
+tools_obexctl_LDADD = gdbus/libgdbus-internal.la \
+				@GLIB_LIBS@ @DBUS_LIBS@ -lreadline
 endif
 
 if EXPERIMENTAL
diff --git a/tools/obexctl.c b/tools/obexctl.c
new file mode 100644
index 0000000..0006799
--- /dev/null
+++ b/tools/obexctl.c
@@ -0,0 +1,31 @@
+/*
+ *
+ *  BlueZ - Bluetooth protocol stack for Linux
+ *
+ *  Copyright (C) 2013  Intel Corporation. All rights reserved.
+ *
+ *
+ *  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
+
+int main(int argc, char *argv[])
+{
+	return 0;
+}