wlanstatfoo
struct wlanstatfoo *wf;
STATFOO_BOUNCE(wf, wlanstatfoo);
struct wlanstatfoo base;
wlan_setifname(struct wlanstatfoo *wf0, const char *ifname)
wlan_getifname(struct wlanstatfoo *wf0)
wlan_getopmode(struct wlanstatfoo *wf0)
wlan_setstamac(struct wlanstatfoo *wf0, const uint8_t *mac)
STATFOO_DEFINE_BOUNCE(wlanstatfoo)
struct wlanstatfoo *
STATFOO_DECL_METHODS(struct wlanstatfoo *);
void (*setifname)(struct wlanstatfoo *, const char *ifname);
const char *(*getifname)(struct wlanstatfoo *);
int (*getopmode)(struct wlanstatfoo *);
void (*setstamac)(struct wlanstatfoo *, const uint8_t mac[]);
struct wlanstatfoo *wlanstats_new(const char *ifname, const char *fmtstring);