Found 3 other functions taking a
eap_method
argument:
eap_server_method_register - Register an EAP server method @method: EAP method to register from eap_server_method_alloc() Returns: 0 on success, -1 on invalid method, or -2 if a matching EAP method has already been registered Each EAP server method needs to call this function to register itself as a supported EAP method. The caller must not free the allocated method data regardless of the return value.
eap_server_method_free - Free EAP server method structure @method: Method structure allocated with eap_server_method_alloc()