From 3362f2aa3ab4985ab0714582153de16eb545212f Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Tue, 16 Dec 2014 08:03:37 +0000 Subject: [PATCH] Some prototypes added. FossilOrigin-Name: 8a46768b8ed65b93dc1046f4718ba8ec9916cd8272920c94547e4bf821346bd1 --- src/wtp/nlt.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/wtp/nlt.h b/src/wtp/nlt.h index a1b6becd..e1e91bf3 100644 --- a/src/wtp/nlt.h +++ b/src/wtp/nlt.h @@ -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