Some prototypes added.
FossilOrigin-Name: 8a46768b8ed65b93dc1046f4718ba8ec9916cd8272920c94547e4bf821346bd1
This commit is contained in:
parent
240cecf7da
commit
3362f2aa3a
@ -16,5 +16,20 @@ struct nlt_ifinfo {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
struct nlt_wiphyinfo {
|
||||||
|
const char * name;
|
||||||
|
int index;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
int nlt_get_ifinfo(struct nl_sock *sk, struct nlt_ifinfo *ifinfo);
|
||||||
|
int nlt_init_ifinfo(struct nlt_ifinfo * ifinfo);
|
||||||
|
//int nlt_get_wiphy_list(struct nlt_ifinfo * ifinfo);
|
||||||
|
int nlt_get_wiphy_list(struct nl_sock *sk);
|
||||||
|
|
||||||
|
|
||||||
|
#define NLT_MAX_WIPHYINDEX 8
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user