summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-10-29 20:15:54 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-10-29 20:15:54 +0200
commit4c8037421697c904a50d8a847ed5a2560c468470 (patch)
tree8f3ce8728593fcd92efd1c0450f71cb2360b380a
parent663ed5a986d0d139b4581fd2701d4dd59dd0c39a (diff)
downloadconnman-4c8037421697c904a50d8a847ed5a2560c468470.tar.gz
connman-4c8037421697c904a50d8a847ed5a2560c468470.tar.bz2
connman-4c8037421697c904a50d8a847ed5a2560c468470.zip
Add skeleton for WISPr command line client
-rw-r--r--.gitignore1
-rw-r--r--Makefile.am6
-rw-r--r--tools/wispr.c29
3 files changed, 35 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 5a173f7d..c83083ef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -37,6 +37,7 @@ scripts/connman
scripts/dhclient-script
scripts/openconnect-script
client/cm
+tools/wispr
tools/wifi-scan
tools/dhcp-test
tools/addr-test
diff --git a/Makefile.am b/Makefile.am
index 056fff82..8e841868 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -129,12 +129,16 @@ client_cm_LDADD = @DBUS_LIBS@
endif
if TOOLS
-noinst_PROGRAMS += tools/wifi-scan tools/supplicant-test tools/dhcp-test \
+noinst_PROGRAMS += tools/wispr tools/wifi-scan \
+ tools/supplicant-test tools/dhcp-test \
tools/addr-test tools/web-test tools/resolv-test \
tools/dbus-test tools/polkit-test tools/portal-test \
tools/iptables-test tools/tap-test tools/wpad-test \
tools/stats-ringbuffer-dump
+tools_wispr_SOURCES = tools/wispr.c
+tools_wispr_LDADD = @GLIB_LIBS@ @GNUTLS_LIBS@
+
tools_wifi_scan_LDADD = @GLIB_LIBS@ @NETLINK_LIBS@
tools_supplicant_test_SOURCES = $(gdbus_sources) tools/supplicant-test.c \
diff --git a/tools/wispr.c b/tools/wispr.c
new file mode 100644
index 00000000..51995796
--- /dev/null
+++ b/tools/wispr.c
@@ -0,0 +1,29 @@
+/*
+ *
+ * Connection Manager
+ *
+ * Copyright (C) 2007-2010 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 version 2 as
+ * published by the Free Software Foundation.
+ *
+ * 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;
+}