summaryrefslogtreecommitdiff
path: root/radsecproxy.h
diff options
context:
space:
mode:
authorvenaas <venaas>2008-09-30 14:40:17 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-09-30 14:40:17 +0000
commitce2faa29b9e921d11e93b54a98dee687d4a861b4 (patch)
tree9e965c605fcdd4cf993c40b5a77cf7840d8f473f /radsecproxy.h
parent9059151dbb4dbda7f7d4f1a96a7d0b8db5756a0a (diff)
expiry of udp clients
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@412 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.h')
-rw-r--r--radsecproxy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/radsecproxy.h b/radsecproxy.h
index 4be2274..520703f 100644
--- a/radsecproxy.h
+++ b/radsecproxy.h
@@ -110,6 +110,7 @@ struct client {
struct queue *replyq;
struct queue *rbios; /* for dtls */
struct sockaddr *addr;
+ time_t expiry; /* for udp */
};
struct server {
@@ -206,6 +207,7 @@ struct clsrvconf *find_clconf(uint8_t type, struct sockaddr *addr, struct list_n
struct clsrvconf *find_srvconf(uint8_t type, struct sockaddr *addr, struct list_node **cur);
struct clsrvconf *find_clconf_type(uint8_t type, struct list_node **cur);
struct client *addclient(struct clsrvconf *conf, uint8_t lock);
+void removelockedclient(struct client *client);
void removeclient(struct client *client);
struct queue *newqueue();
void freebios(struct queue *q);