From 748f540296a2b704dbc953232bb6c02c24c384d9 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 25 Oct 2011 15:36:00 +0200 Subject: [PATCH] Add skeleton for btmgmt tool --- Makefile.tools | 3 +++ mgmt/main.c | 29 +++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 mgmt/main.c diff --git a/Makefile.tools b/Makefile.tools index 5d1c7e060..24db94848 100644 --- a/Makefile.tools +++ b/Makefile.tools @@ -49,6 +49,9 @@ tools_ppporc_LDADD = lib/libbluetooth-private.la tools_hcieventmask_LDADD = lib/libbluetooth-private.la +noinst_PROGRAMS += mgmt/btmgmt +mgmt_btmgmt_SOURCES = mgmt/main.c + if READLINE bin_PROGRAMS += attrib/gatttool diff --git a/mgmt/main.c b/mgmt/main.c new file mode 100644 index 000000000..183711dc4 --- /dev/null +++ b/mgmt/main.c @@ -0,0 +1,29 @@ +/* + * BlueZ - Bluetooth protocol stack for Linux + * + * Copyright (C) 2011 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 as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * 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.47.3