diff options
author | venaas <venaas> | 2007-05-14 16:00:37 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2007-05-14 16:00:37 +0000 |
commit | cb9e63ae8d870e1b2ece83eb0d4b66f9c443cbfd (patch) | |
tree | 0eab6e683d479db84ae85aaca5d3dee1280b53b4 /radsecproxy.h | |
parent | dc3aebb5a78736cd9cd67be73536b144ca4eafc1 (diff) |
supports new server and realm config methods as well as argument for config file path
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@85 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.h')
-rw-r--r-- | radsecproxy.h | 7 |
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 ? \ |