X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=src%2Feap_common%2Feap_fast_common.h;h=c4f54ca0061009a2811672f94492ebf187f967ea;hb=193d9dc52b30a893aeeb4e1ff696dc6ef35262d2;hp=c85fd37fd469c7045f20fbc67bb84f3becaec1a2;hpb=99ba7f889b95dfc8e895a0d691238260124a414d;p=mech_eap.orig diff --git a/src/eap_common/eap_fast_common.h b/src/eap_common/eap_fast_common.h index c85fd37..c4f54ca 100644 --- a/src/eap_common/eap_fast_common.h +++ b/src/eap_common/eap_fast_common.h @@ -15,6 +15,10 @@ #ifndef EAP_FAST_H #define EAP_FAST_H +#ifdef __cplusplus +extern "C" { +#endif + #define EAP_FAST_VERSION 1 #define EAP_FAST_KEY_LEN 64 #define EAP_FAST_SIMCK_LEN 40 @@ -110,4 +114,8 @@ void eap_fast_derive_eap_emsk(const u8 *simck, u8 *emsk); int eap_fast_parse_tlv(struct eap_fast_tlv_parse *tlv, int tlv_type, u8 *pos, int len); +#ifdef __cplusplus +} +#endif + #endif /* EAP_FAST_H */