summaryrefslogtreecommitdiff
path: root/lib/include/radsec/radsec-impl.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-03-08 13:37:46 +0100
committerLinus Nordberg <linus@nordu.net>2011-03-08 14:23:37 +0100
commitd464ebb9235fe78e6588e95d4d3333d5ee95ca48 (patch)
treec1a35006abc218813b4425edea4c79bbd3763766 /lib/include/radsec/radsec-impl.h
parent657eec7ee5a276521eb456bf648878935e794b6e (diff)
Timeout implemented in request objects, supported by TCP.
TODO: UDP.
Diffstat (limited to 'lib/include/radsec/radsec-impl.h')
-rw-r--r--lib/include/radsec/radsec-impl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/include/radsec/radsec-impl.h b/lib/include/radsec/radsec-impl.h
index a924fc9..49f9a35 100644
--- a/lib/include/radsec/radsec-impl.h
+++ b/lib/include/radsec/radsec-impl.h
@@ -75,6 +75,7 @@ struct rs_connection {
struct rs_peer *peers;
struct rs_peer *active_peer;
struct rs_error *err;
+ struct timeval timeout;
char is_connecting; /* FIXME: replace with a single state member */
char is_connected; /* FIXME: replace with a single state member */
int fd; /* Socket. */