summaryrefslogtreecommitdiff
path: root/radsecproxy.h
diff options
context:
space:
mode:
authorvenaas <venaas>2008-07-23 09:14:16 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-07-23 09:14:16 +0000
commite94add96691c5ed745a0f83e332586b685236872 (patch)
tree018b47109068e78ad24cc7d6ace0e4eeb20c8de7 /radsecproxy.h
parentfa66ef5ae8812b08b8f252cdd7c48720922faf04 (diff)
added tcp client support
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@322 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.h')
-rw-r--r--radsecproxy.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/radsecproxy.h b/radsecproxy.h
index 171c3fd..2736733 100644
--- a/radsecproxy.h
+++ b/radsecproxy.h
@@ -48,6 +48,7 @@ struct options {
char **listenaccudp;
char *sourceudp;
char *sourcetcp;
+ char *sourcetls;
char *logdestination;
uint8_t loglevel;
uint8_t loopprevention;
@@ -175,6 +176,10 @@ struct protodefs {
uint8_t retryintervaldefault;
uint8_t retryintervalmax;
void *(*listener)(void*);
+ char **srcaddrport;
+ int (*connecter)(struct server *, struct timeval *, int, char *);
+ void *(*clientreader)(void*);
+ int (*clientradput)(struct server *, unsigned char *);
};
#define RADLEN(x) ntohs(((uint16_t *)(x))[1])