diff options
author | venaas <venaas> | 2008-10-13 15:29:36 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2008-10-13 15:29:36 +0000 |
commit | ecc6d5a045d878c2fcc6ef57ae55162ccc375384 (patch) | |
tree | 6117e86f8de4e7d29188d5e1b947db71a94e257f /radsecproxy.h | |
parent | f07282621239425826542fdcc0668398ffd7482f (diff) |
cleaning up code
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@428 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.h')
-rw-r--r-- | radsecproxy.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/radsecproxy.h b/radsecproxy.h index 0061104..0ba9db0 100644 --- a/radsecproxy.h +++ b/radsecproxy.h @@ -26,13 +26,10 @@ #define RAD_TLS 1 #define RAD_TCP 2 #define RAD_DTLS 3 +#define RAD_PROTOCOUNT 4 struct options { - char **listenudp; - char **listentcp; - char **listentls; - char **listendtls; - char **listenaccudp; + char **listenargs[RAD_PROTOCOUNT]; char *sourceudp; char *sourcetcp; char *sourcetls; @@ -194,6 +191,7 @@ struct protodefs { int (*clientradput)(struct server *, unsigned char *); void (*addclient)(struct client *); void (*addserverextra)(struct clsrvconf *); + uint8_t freesrcprotores; void (*initextra)(); }; |