projects
/
libeap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make peer headers build with C++ sources
[libeap.git]
/
src
/
eap_common
/
eap_sake_common.h
diff --git
a/src/eap_common/eap_sake_common.h
b/src/eap_common/eap_sake_common.h
index
201e207
..
8a5b170
100644
(file)
--- a/
src/eap_common/eap_sake_common.h
+++ b/
src/eap_common/eap_sake_common.h
@@
-15,6
+15,10
@@
#ifndef EAP_SAKE_COMMON_H
#define EAP_SAKE_COMMON_H
#ifndef EAP_SAKE_COMMON_H
#define EAP_SAKE_COMMON_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define EAP_SAKE_VERSION 2
#define EAP_SAKE_SUBTYPE_CHALLENGE 1
#define EAP_SAKE_VERSION 2
#define EAP_SAKE_SUBTYPE_CHALLENGE 1
@@
-99,4
+103,8
@@
int eap_sake_compute_mic(const u8 *tek_auth,
void eap_sake_add_attr(struct wpabuf *buf, u8 type, const u8 *data,
size_t len);
void eap_sake_add_attr(struct wpabuf *buf, u8 type, const u8 *data,
size_t len);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* EAP_SAKE_COMMON_H */
#endif /* EAP_SAKE_COMMON_H */