diff options
author | Linus Nordberg <linus@nordu.net> | 2010-09-29 10:53:01 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2010-09-29 10:53:01 +0200 |
commit | e2633633030e62994ca41ff62006e3e40517c73a (patch) | |
tree | 60d68506aac2dd1499f19f766c8fc5a26a96a231 /lib/libradsec-impl.h | |
parent | 7ef1fda097c5c96e201d50db2892d1c2354eb6d4 (diff) |
WIP -- resolving, crafting packet.
Diffstat (limited to 'lib/libradsec-impl.h')
-rw-r--r-- | lib/libradsec-impl.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libradsec-impl.h b/lib/libradsec-impl.h index 170e90c..939cdd9 100644 --- a/lib/libradsec-impl.h +++ b/lib/libradsec-impl.h @@ -4,6 +4,7 @@ /* See the file COPYING for licensing information. */ #include <freeradius/libradius.h> +#include <event2/util.h> /* Constants. */ #define RS_HEADER_LEN 4 @@ -68,7 +69,8 @@ struct rs_handle { struct rs_peer { struct rs_connection *conn; - struct addrinfo *addr; + struct evutil_addrinfo *addr; + int s; /* Socket. */ char *secret; int timeout; /* client only */ int tries; /* client only */ @@ -80,7 +82,7 @@ struct rs_connection { enum rs_conn_type type; struct rs_credentials transport_credentials; struct rs_conn_callbacks callbacks; - struct rs_peer peers; + struct rs_peer *peers; struct rs_peer *active_peer; struct rs_error *err; }; |