X-Git-Url: http://www.project-moonshot.org/gitweb/?p=libeap.git;a=blobdiff_plain;f=src%2Feap_common%2Feap_ttls.h;fp=src%2Feap_common%2Feap_ttls.h;h=09b6083b75b61a25b30a5fea265881d299cf9bca;hp=797d084786f3d646e0fac21a8b05b8465b2fd831;hb=193d9dc52b30a893aeeb4e1ff696dc6ef35262d2;hpb=99ba7f889b95dfc8e895a0d691238260124a414d diff --git a/src/eap_common/eap_ttls.h b/src/eap_common/eap_ttls.h index 797d084..09b6083 100644 --- a/src/eap_common/eap_ttls.h +++ b/src/eap_common/eap_ttls.h @@ -15,6 +15,10 @@ #ifndef EAP_TTLS_H #define EAP_TTLS_H +#ifdef __cplusplus +extern "C" { +#endif + struct ttls_avp { be32 avp_code; be32 avp_length; /* 8-bit flags, 24-bit length; @@ -68,4 +72,8 @@ do { \ #define EAP_TTLS_CHAP_CHALLENGE_LEN 16 #define EAP_TTLS_CHAP_PASSWORD_LEN 16 +#ifdef __cplusplus +} +#endif + #endif /* EAP_TTLS_H */