|
1 | 1 | /* SPDX-License-Identifier: LGPL-2.1+ */ |
2 | 2 | #pragma once |
3 | 3 |
|
4 | | -#include <linux/nl80211.h> |
5 | 4 | #include <stdbool.h> |
| 5 | +#include <stdio.h> |
6 | 6 |
|
7 | 7 | #include "sd-device.h" |
8 | 8 | #include "sd-dhcp-lease.h" |
9 | 9 |
|
10 | | -#include "conf-parser.h" |
11 | | -#include "set.h" |
12 | | -#include "strv.h" |
13 | | - |
14 | | -bool net_match_config(Set *match_mac, |
15 | | - Set *match_permanent_mac, |
16 | | - char * const *match_paths, |
17 | | - char * const *match_drivers, |
18 | | - char * const *match_iftypes, |
19 | | - char * const *match_names, |
20 | | - char * const *match_property, |
21 | | - char * const *match_wifi_iftype, |
22 | | - char * const *match_ssid, |
23 | | - Set *match_bssid, |
24 | | - sd_device *device, |
25 | | - const struct ether_addr *dev_mac, |
26 | | - const struct ether_addr *dev_permanent_mac, |
27 | | - const char *dev_driver, |
28 | | - unsigned short dev_iftype, |
29 | | - const char *dev_name, |
30 | | - char * const *alternative_names, |
31 | | - enum nl80211_iftype dev_wifi_iftype, |
32 | | - const char *dev_ssid, |
33 | | - const struct ether_addr *dev_bssid); |
34 | | - |
35 | | -CONFIG_PARSER_PROTOTYPE(config_parse_net_condition); |
36 | | -CONFIG_PARSER_PROTOTYPE(config_parse_match_strv); |
37 | | -CONFIG_PARSER_PROTOTYPE(config_parse_match_ifnames); |
38 | | -CONFIG_PARSER_PROTOTYPE(config_parse_match_property); |
39 | | - |
40 | 10 | int net_get_unique_predictable_data(sd_device *device, bool use_sysname, uint64_t *result); |
41 | 11 | const char *net_get_name_persistent(sd_device *device); |
42 | 12 |
|
|
0 commit comments