summaryrefslogtreecommitdiff
path: root/radsecproxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'radsecproxy.h')
-rw-r--r--radsecproxy.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/radsecproxy.h b/radsecproxy.h
index a3fe108..797fa53 100644
--- a/radsecproxy.h
+++ b/radsecproxy.h
@@ -101,8 +101,6 @@ struct client {
struct server {
struct peer peer;
- char *realmdata;
- char **realms;
int sock;
pthread_mutex_t lock;
pthread_t clientth;
@@ -115,6 +113,11 @@ struct server {
pthread_cond_t newrq_cond;
};
+struct realm {
+ char *name;
+ struct server *server;
+};
+
#define RADLEN(x) ntohs(((uint16_t *)(x))[1])
#define SOCKADDR_SIZE(addr) ((addr).ss_family == AF_INET ? \