]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - src/eap_peer/eap_tls_common.h
Replace EapType typedef with enum eap_type
[thirdparty/hostap.git] / src / eap_peer / eap_tls_common.h
index d96eff1c8b8211a0e40a6adc40ead039ac37bb31..e3c9e0331b1ce05ce27e33246e6e2e99bfa9d016 100644 (file)
@@ -107,17 +107,17 @@ u8 * eap_peer_tls_derive_session_id(struct eap_sm *sm,
                                    struct eap_ssl_data *data, u8 eap_type,
                                    size_t *len);
 int eap_peer_tls_process_helper(struct eap_sm *sm, struct eap_ssl_data *data,
-                               EapType eap_type, int peap_version,
+                               enum eap_type eap_type, int peap_version,
                                u8 id, const struct wpabuf *in_data,
                                struct wpabuf **out_data);
-struct wpabuf * eap_peer_tls_build_ack(u8 id, EapType eap_type,
+struct wpabuf * eap_peer_tls_build_ack(u8 id, enum eap_type eap_type,
                                       int peap_version);
 int eap_peer_tls_reauth_init(struct eap_sm *sm, struct eap_ssl_data *data);
 int eap_peer_tls_status(struct eap_sm *sm, struct eap_ssl_data *data,
                        char *buf, size_t buflen, int verbose);
 const u8 * eap_peer_tls_process_init(struct eap_sm *sm,
                                     struct eap_ssl_data *data,
-                                    EapType eap_type,
+                                    enum eap_type eap_type,
                                     struct eap_method_ret *ret,
                                     const struct wpabuf *reqData,
                                     size_t *len, u8 *flags);
@@ -127,7 +127,7 @@ int eap_peer_tls_decrypt(struct eap_sm *sm, struct eap_ssl_data *data,
                         const struct wpabuf *in_data,
                         struct wpabuf **in_decrypted);
 int eap_peer_tls_encrypt(struct eap_sm *sm, struct eap_ssl_data *data,
-                        EapType eap_type, int peap_version, u8 id,
+                        enum eap_type eap_type, int peap_version, u8 id,
                         const struct wpabuf *in_data,
                         struct wpabuf **out_data);
 int eap_peer_select_phase2_methods(struct eap_peer_config *config,