Add skeleton for WISPr command line client
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 29 Oct 2010 18:15:54 +0000 (20:15 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 29 Oct 2010 18:15:54 +0000 (20:15 +0200)
.gitignore
Makefile.am
tools/wispr.c [new file with mode: 0644]

index 5a173f7..c83083e 100644 (file)
@@ -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
index 056fff8..8e84186 100644 (file)
@@ -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 (file)
index 0000000..5199579
--- /dev/null
@@ -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;
+}