automake build system
[mech_eap.orig] / src / eap_common / eap_defs.h
index 0efe7ab..482f9d2 100644 (file)
 #ifndef EAP_DEFS_H
 #define EAP_DEFS_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* RFC 3748 - Extensible Authentication Protocol (EAP) */
 
 #ifdef _MSC_VER
@@ -68,6 +72,7 @@ typedef enum {
        EAP_TYPE_IKEV2 = 49 /* RFC 5106 */,
        EAP_TYPE_AKA_PRIME = 50 /* draft-arkko-eap-aka-kdf-10.txt */,
        EAP_TYPE_GPSK = 51 /* RFC 5433 */,
+       EAP_TYPE_PWD = 52 /* RFC 5931 */,
        EAP_TYPE_EXPANDED = 254 /* RFC 3748 */
 } EapType;
 
@@ -82,4 +87,8 @@ enum {
 #define EAP_MSK_LEN 64
 #define EAP_EMSK_LEN 64
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* EAP_DEFS_H */