summaryrefslogtreecommitdiffstats
path: root/contrib/wpa_supplicant/radius_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/wpa_supplicant/radius_client.h')
-rw-r--r--contrib/wpa_supplicant/radius_client.h22
1 files changed, 20 insertions, 2 deletions
diff --git a/contrib/wpa_supplicant/radius_client.h b/contrib/wpa_supplicant/radius_client.h
index d21ca83..df1ba1f 100644
--- a/contrib/wpa_supplicant/radius_client.h
+++ b/contrib/wpa_supplicant/radius_client.h
@@ -1,3 +1,17 @@
+/*
+ * hostapd / RADIUS client
+ * Copyright (c) 2002-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_CLIENT_H
#define RADIUS_CLIENT_H
@@ -73,15 +87,19 @@ int radius_client_register(struct radius_client_data *radius,
void *data);
int radius_client_send(struct radius_client_data *radius,
struct radius_msg *msg,
- RadiusType msg_type, u8 *addr);
+ RadiusType msg_type, const u8 *addr);
u8 radius_client_get_id(struct radius_client_data *radius);
-void radius_client_flush(struct radius_client_data *radius);
+void radius_client_flush(struct radius_client_data *radius, int only_auth);
struct radius_client_data *
radius_client_init(void *ctx, struct hostapd_radius_servers *conf);
void radius_client_deinit(struct radius_client_data *radius);
void radius_client_flush_auth(struct radius_client_data *radius, u8 *addr);
int radius_client_get_mib(struct radius_client_data *radius, char *buf,
size_t buflen);
+struct radius_client_data *
+radius_client_reconfig(struct radius_client_data *old, void *ctx,
+ struct hostapd_radius_servers *oldconf,
+ struct hostapd_radius_servers *newconf);
#endif /* RADIUS_CLIENT_H */
OpenPOWER on IntegriCloud