From ea2432988cde62b4520e547d8b5d95be489a459a Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 6 Mar 2018 16:31:09 +0100 Subject: show the SSID for wireless interfaces --- netlink-notify.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'netlink-notify.h') diff --git a/netlink-notify.h b/netlink-notify.h index fec85ae..ee61335 100644 --- a/netlink-notify.h +++ b/netlink-notify.h @@ -23,11 +23,13 @@ #include #include #include +#include /* we have to undefine this before including net/if.h to * notget redefined structs, etc. */ #undef __USE_MISC #include #include +#include #include /* systemd headers */ @@ -73,6 +75,9 @@ int match_address(struct addresses_seen *addresses_seen, const char *address, un /*** list_addresses ***/ void list_addresses(struct addresses_seen *addresses_seen, char *interface); +/*** get_ssid ***/ +void get_ssid(const char *interface, char *essid); + /*** newstr_link ***/ char * newstr_link(char *interface, unsigned int flags); -- cgit v1.2.3-54-g00ecf