23 #define _EAP_DIAMETER_AVP_HEADER_H_ |
23 #define _EAP_DIAMETER_AVP_HEADER_H_ |
24 |
24 |
25 #include "eap_tools.h" |
25 #include "eap_tools.h" |
26 #include "eap_general_header_base.h" |
26 #include "eap_general_header_base.h" |
27 #include "eap_diameter_avp_code.h" |
27 #include "eap_diameter_avp_code.h" |
|
28 #include "eap_am_export.h" |
|
29 // Start: added by script change_export_macros.sh. |
|
30 #if defined(EAP_NO_EXPORT_EAP_DIAMETER_AVP_HEADER_H) |
|
31 #define EAP_CLASS_VISIBILITY_EAP_DIAMETER_AVP_HEADER_H EAP_NONSHARABLE |
|
32 #define EAP_FUNC_VISIBILITY_EAP_DIAMETER_AVP_HEADER_H |
|
33 #define EAP_C_FUNC_VISIBILITY_EAP_DIAMETER_AVP_HEADER_H |
|
34 #define EAP_FUNC_EXPORT_EAP_DIAMETER_AVP_HEADER_H |
|
35 #define EAP_C_FUNC_EXPORT_EAP_DIAMETER_AVP_HEADER_H |
|
36 #elif defined(EAP_EXPORT_EAP_DIAMETER_AVP_HEADER_H) |
|
37 #define EAP_CLASS_VISIBILITY_EAP_DIAMETER_AVP_HEADER_H EAP_EXPORT |
|
38 #define EAP_FUNC_VISIBILITY_EAP_DIAMETER_AVP_HEADER_H EAP_FUNC_EXPORT |
|
39 #define EAP_C_FUNC_VISIBILITY_EAP_DIAMETER_AVP_HEADER_H EAP_C_FUNC_EXPORT |
|
40 #define EAP_FUNC_EXPORT_EAP_DIAMETER_AVP_HEADER_H EAP_FUNC_EXPORT |
|
41 #define EAP_C_FUNC_EXPORT_EAP_DIAMETER_AVP_HEADER_H EAP_C_FUNC_EXPORT |
|
42 #else |
|
43 #define EAP_CLASS_VISIBILITY_EAP_DIAMETER_AVP_HEADER_H EAP_IMPORT |
|
44 #define EAP_FUNC_VISIBILITY_EAP_DIAMETER_AVP_HEADER_H EAP_FUNC_IMPORT |
|
45 #define EAP_C_FUNC_VISIBILITY_EAP_DIAMETER_AVP_HEADER_H EAP_C_FUNC_IMPORT |
|
46 #define EAP_FUNC_EXPORT_EAP_DIAMETER_AVP_HEADER_H |
|
47 #define EAP_C_FUNC_EXPORT_EAP_DIAMETER_AVP_HEADER_H |
|
48 #endif |
|
49 // End: added by script change_export_macros.sh. |
|
50 |
28 |
51 |
29 /** @file */ |
52 /** @file */ |
30 |
53 |
31 const u32_t TRACE_FLAGS_DIAMETER_ERROR = eap_am_tools_c::eap_trace_mask_error; |
54 const u32_t TRACE_FLAGS_DIAMETER_ERROR = eap_am_tools_c::eap_trace_mask_error; |
32 |
55 |
62 * 32-bits Vendor-ID; This is a optional Vendor-ID. The flag vendor specific (V) must be set too. |
85 * 32-bits Vendor-ID; This is a optional Vendor-ID. The flag vendor specific (V) must be set too. |
63 * @endcode |
86 * @endcode |
64 * |
87 * |
65 * See <a href="../../documentation/RFCs/draft-funk-eap-ttls-v0-00.txt">draft-funk-eap-ttls-v0-00.txt</a>. |
88 * See <a href="../../documentation/RFCs/draft-funk-eap-ttls-v0-00.txt">draft-funk-eap-ttls-v0-00.txt</a>. |
66 */ |
89 */ |
67 class EAP_EXPORT eap_diameter_avp_header_c |
90 class EAP_CLASS_VISIBILITY_EAP_DIAMETER_AVP_HEADER_H eap_diameter_avp_header_c |
68 : public eap_general_header_base_c |
91 : public eap_general_header_base_c |
69 { |
92 { |
70 private: |
93 private: |
71 //-------------------------------------------------- |
94 //-------------------------------------------------- |
72 |
95 |