#include "wpabuf.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
const u8 * eap_hdr_validate(int vendor, EapType eap_type,
const struct wpabuf *msg, size_t *plen);
struct wpabuf * eap_msg_alloc(int vendor, EapType type, size_t payload_len,
u8 eap_get_id(const struct wpabuf *msg);
EapType eap_get_type(const struct wpabuf *msg);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* EAP_COMMON_H */