From 4c8037421697c904a50d8a847ed5a2560c468470 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 29 Oct 2010 20:15:54 +0200 Subject: [PATCH] Add skeleton for WISPr command line client --- .gitignore | 1 + Makefile.am | 6 +++++- tools/wispr.c | 29 +++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 tools/wispr.c diff --git a/.gitignore b/.gitignore index 5a173f7..c83083e 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 056fff8..8e84186 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 0000000..5199579 --- /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 +#endif + +int main(int argc, char *argv[]) +{ + return 0; +} -- 2.7.4