From ce2faa29b9e921d11e93b54a98dee687d4a861b4 Mon Sep 17 00:00:00 2001 From: venaas Date: Tue, 30 Sep 2008 14:40:17 +0000 Subject: expiry of udp clients git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@412 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- radsecproxy.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'radsecproxy.h') 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); -- cgit v1.1