#define WITH_TCP (1)
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define EAP_START 2
#define AUTH_VECTOR_LEN 16
unsigned int vendor;
int type;
size_t length; /* of data */
+#ifdef __cplusplus
+ /*
+ * C++ hackery. The server and modules are all C, so
+ * the defs here don't affect them. But any C++ code
+ * gets excited over "operator", so we change the name.
+ */
+ FR_TOKEN op_token;
+#else
FR_TOKEN operator;
+#endif
ATTR_FLAGS flags;
struct value_pair *next;
uint32_t lvalue;
void *fr_fifo_peek(fr_fifo_t *fi);
int fr_fifo_num_elements(fr_fifo_t *fi);
+#ifdef __cplusplus
+}
+#endif
+
#include <freeradius-devel/packet.h>
#ifdef WITH_TCP