X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=iw.h;h=10bde358f05eafad7ae70c3db736230e8108103a;hb=febeb0c05600f8ce6b18ec624c73de53970403e1;hp=a33b3535c8db7b2628f0309576db61280f313b50;hpb=ded1f078ef5283e49f1863e9160a6650566c0954;p=thirdparty%2Fiw.git diff --git a/iw.h b/iw.h index a33b353..10bde35 100644 --- a/iw.h +++ b/iw.h @@ -100,7 +100,7 @@ __u32 __listen_events(struct nl80211_state *state, int mac_addr_a2n(unsigned char *mac_addr, char *arg); -int mac_addr_n2a(char *mac_addr, unsigned char *arg); +void mac_addr_n2a(char *mac_addr, unsigned char *arg); int parse_keys(struct nl_msg *msg, char **argv, int argc); @@ -119,4 +119,14 @@ const char *get_status_str(uint16_t status); int set_interface_up(const char *ifname); +enum print_ie_type { + PRINT_SCAN, + PRINT_LINK, +}; + +#define BIT(x) (1ULL<<(x)) + +void print_ies(unsigned char *ie, int ielen, bool unknown, + enum print_ie_type ptype); + #endif /* __IW_H */