summaryrefslogtreecommitdiffstats
path: root/contrib/hostapd/radius_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/hostapd/radius_server.h')
-rw-r--r--contrib/hostapd/radius_server.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/contrib/hostapd/radius_server.h b/contrib/hostapd/radius_server.h
index 5c4c39c..9c9315e 100644
--- a/contrib/hostapd/radius_server.h
+++ b/contrib/hostapd/radius_server.h
@@ -1,3 +1,17 @@
+/*
+ * hostapd / RADIUS authentication server
+ * Copyright (c) 2005, Jouni Malinen <j@w1.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef RADIUS_SERVER_H
#define RADIUS_SERVER_H
@@ -23,6 +37,8 @@ void radius_server_deinit(struct radius_server_data *data);
int radius_server_get_mib(struct radius_server_data *data, char *buf,
size_t buflen);
+void radius_server_eap_pending_cb(struct radius_server_data *data, void *ctx);
+
#else /* RADIUS_SERVER */
static inline struct radius_server_data *
@@ -41,6 +57,11 @@ static inline int radius_server_get_mib(struct radius_server_data *data,
return 0;
}
+static inline void
+radius_server_eap_pending_cb(struct radius_server_data *data, void *ctx)
+{
+}
+
#endif /* RADIUS_SERVER */
#endif /* RADIUS_SERVER_H */
OpenPOWER on IntegriCloud