mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 14:49:24 +01:00
405de7019c
Station, WSC, Ad-Hoc and AP family_arg_completion functions were identical except for which commands they were referencing and the interface type they were interested in. Combine all these into a single function.
33 lines
1.2 KiB
C
33 lines
1.2 KiB
C
/*
|
|
*
|
|
* Wireless daemon for Linux
|
|
*
|
|
* Copyright (C) 2017 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
|
|
*
|
|
*/
|
|
|
|
struct proxy_interface;
|
|
|
|
char *device_arg_completion(const char *text, int state,
|
|
const struct command *commands,
|
|
const char *extra_interface);
|
|
|
|
const struct proxy_interface *device_proxy_find_by_name(const char *name);
|
|
const struct proxy_interface *device_proxy_find(const char *device_name,
|
|
const char *interface);
|
|
const struct proxy_interface *device_get_default(void);
|