From e2633633030e62994ca41ff62006e3e40517c73a Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 29 Sep 2010 10:53:01 +0200 Subject: WIP -- resolving, crafting packet. --- lib/libradsec-impl.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/libradsec-impl.h') 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 +#include /* 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; }; -- cgit v1.1