diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-03-28 14:07:45 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-03-28 14:07:45 -0700 |
commit | a822c8d387cea4b6d8bc51d227a8b7853cc2b617 (patch) | |
tree | b50d619b1bd1a8302ddf1680c2b6a688fdb3b201 /tools | |
parent | 7a75d5e493c11078b4047b8886e26674222ab810 (diff) | |
download | connman-a822c8d387cea4b6d8bc51d227a8b7853cc2b617.tar.gz connman-a822c8d387cea4b6d8bc51d227a8b7853cc2b617.tar.bz2 connman-a822c8d387cea4b6d8bc51d227a8b7853cc2b617.zip |
Add skeleton for WiFi scanning tool
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Makefile.am | 8 | ||||
-rw-r--r-- | tools/wifi-scan.c | 29 |
2 files changed, 37 insertions, 0 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am index 02742923..af219aca 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -1,2 +1,10 @@ +if TOOLS +noinst_PROGRAMS = wifi-scan + +wifi_scan_LDADD = @GLIB_LIBS@ @NETLINK_LIBS@ +endif + +AM_CFLAGS = @NETLINK_CFLAGS@ @GLIB_CFLAGS@ + MAINTAINERCLEANFILES = Makefile.in diff --git a/tools/wifi-scan.c b/tools/wifi-scan.c new file mode 100644 index 00000000..6f110c17 --- /dev/null +++ b/tools/wifi-scan.c @@ -0,0 +1,29 @@ +/* + * + * Connection Manager + * + * Copyright (C) 2007-2009 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; +} |