diff options
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)(); }; |