wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
eap_example.c File Reference

Example application showing how EAP peer and server code from wpa_supplicant/hostapd can be used as a library. This example program initializes both an EAP server and an EAP peer entities and then runs through an EAP-PEAP/MSCHAPv2 authentication. More...

#include "includes.h"
#include "common.h"

Functions

int eap_example_peer_init (void)
 
void eap_example_peer_deinit (void)
 
int eap_example_peer_step (void)
 
int eap_example_server_init (void)
 
void eap_example_server_deinit (void)
 
int eap_example_server_step (void)
 
int main (int argc, char *argv[])
 

Detailed Description

Example application showing how EAP peer and server code from wpa_supplicant/hostapd can be used as a library. This example program initializes both an EAP server and an EAP peer entities and then runs through an EAP-PEAP/MSCHAPv2 authentication.