WPA_Supplicant - build library
Holger Schurig
holgerschurig
Fri Sep 20 04:12:57 PDT 2013
You'd do it like with any C program, remove the main() function and
then do all needed initializations by yourself.
But this isn't that easy. wpa_supplicant is written around an
event-loop, and that might bite with the event loop of your own
program. Actually, it probably will, not just "might".
Therefore anyone used wpa_supplicant as is, and communicates with it
via DBUS and/or the communication socket that also "wpa_cli" uses for
communication.
More information about the Hostap
mailing list