client: Add skeleton for daemon client utility

This commit is contained in:
Marcel Holtmann 2014-05-11 10:43:23 -07:00
parent 050539e2e3
commit 9bb38e6c55
3 changed files with 37 additions and 1 deletions

1
.gitignore vendored
View File

@ -19,3 +19,4 @@ build-aux
autom4te.cache
ell
src/iwd
client/iwctl

View File

@ -27,11 +27,14 @@ ell_sources = ell/ell.h ell/private.h \
ell_libell_internal_la_SOURCES = $(ell_sources)
bin_PROGRAMS = src/iwd
bin_PROGRAMS = src/iwd client/iwctl
src_iwd_SOURCES = src/main.c
src_iwd_LDADD = ell/libell-internal.la
client_iwctl_SOURCES = client/main.c
client_iwctl_LDADD = ell/libell-internal.la
AM_CFLAGS = -fvisibility=hidden
MAINTAINERCLEANFILES = Makefile.in configure config.h.in aclocal.m4

32
client/main.c Normal file
View File

@ -0,0 +1,32 @@
/*
*
* Wireless daemon for Linux
*
* Copyright (C) 2013-2014 Intel Corporation. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; 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
#include <stdlib.h>
int main(int argc, char *argv[])
{
return EXIT_SUCCESS;
}