eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

network.h (1613B)


      1 /*
      2  *
      3  *  Wireless daemon for Linux
      4  *
      5  *  Copyright (C) 2017-2019  Intel Corporation. All rights reserved.
      6  *
      7  *  This library is free software; you can redistribute it and/or
      8  *  modify it under the terms of the GNU Lesser General Public
      9  *  License as published by the Free Software Foundation; either
     10  *  version 2.1 of the License, or (at your option) any later version.
     11  *
     12  *  This library is distributed in the hope that it will be useful,
     13  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
     14  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15  *  Lesser General Public License for more details.
     16  *
     17  *  You should have received a copy of the GNU Lesser General Public
     18  *  License along with this library; if not, write to the Free Software
     19  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     20  *
     21  */
     22 
     23 struct network_args {
     24 	const char *name;
     25 	const char *type;
     26 };
     27 
     28 const struct proxy_interface *network_get_proxy(const char *path);
     29 bool network_is_connected(const struct proxy_interface *network_proxy);
     30 const char *network_get_type(const struct proxy_interface *network_proxy);
     31 const char *network_get_name(const struct proxy_interface *network_proxy);
     32 void network_connect(const struct proxy_interface *network_proxy);
     33 
     34 char *network_name_completion(const struct proxy_interface *device,
     35 						const char *text, int state);
     36 
     37 struct l_queue *network_match_by_device_and_args(
     38 					const struct proxy_interface *device,
     39 					const struct network_args *args);
     40 struct l_queue *network_get_bss_list(
     41 				const struct proxy_interface *network_proxy);