#include <iwlib.h>
Writing a network configuration tool is... fun.
Well, mostly anyway.
/***************************** SCANNING *****************************/ /* * This one behave quite differently from the others * * Note that we don't use the scanning capability of iwlib (functions * iw_process_scan() and iw_scan()). The main reason is that * iw_process_scan() return only a subset of the scan data to the caller, * for example custom elements and bitrates are ommited. Here, we * do the complete job... */ /*------------------------------------------------------------------*/
(from iwlist.c)
Not. The. Way. To. Do. It. Especially not if you're the person who writes both libiw and iwlist. Grmbl.
Also, documentation for libiw seems to be, well, nonexistent.
Fun. Not.
Add a comment