X-Git-Url: http://www.project-moonshot.org/gitweb/?p=radsecproxy.git;a=blobdiff_plain;f=lib%2Finclude%2Fradsec%2Fradsec-impl.h;h=752ea7117a1a1dcb1d05b214543182e465fc71e5;hp=59cb8bfacd2ca705aea564445e962b31fdff185f;hb=19b5ce7ac3f838e689ae6e6b1e4a0c114b44ce67;hpb=41ca60fee8c14f74af22bbeeda56574e883c21a9 diff --git a/lib/include/radsec/radsec-impl.h b/lib/include/radsec/radsec-impl.h index 59cb8bf..752ea71 100644 --- a/lib/include/radsec/radsec-impl.h +++ b/lib/include/radsec/radsec-impl.h @@ -50,8 +50,10 @@ struct rs_error { struct rs_peer { struct rs_connection *conn; struct rs_realm *realm; - struct evutil_addrinfo *addr; + char *hostname; + char *service; char *secret; /* RADIUS secret. */ + struct evutil_addrinfo *addr_cache; struct rs_peer *next; }; @@ -127,11 +129,6 @@ struct rs_packet { struct rs_packet *next; /* Used for UDP output queue. */ }; -/* Nonpublic functions (in radsec.c -- FIXME: move?). */ -struct rs_error *rs_resolv (struct evutil_addrinfo **addr, - rs_conn_type_t type, - const char *hostname, - const char *service); #if defined (__cplusplus) } #endif