X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=radsecproxy.h;h=eeefaed8e6bbd3d21e4c1dcadec9cd38211d1e96;hb=a1ea5fc103e04c1d333bebb6e68b3699a414d1e9;hp=84780c4de63df81dd9a6fbcf8cc1d8c537bded65;hpb=faf8717dcbc9c2e3ed1892402133b6c9663a5e7d;p=radsecproxy.git diff --git a/radsecproxy.h b/radsecproxy.h index 84780c4..eeefaed 100644 --- a/radsecproxy.h +++ b/radsecproxy.h @@ -6,6 +6,9 @@ * copyright notice and this permission notice appear in all copies. */ +#include "tlv11.h" +#include "radmsg.h" + #define DEBUG_LEVEL 3 #define CONFIG_MAIN "/etc/radsecproxy.conf" @@ -41,6 +44,7 @@ struct options { /* requests that our client will send */ struct request { unsigned char *buf; + struct radmsg *msg; uint8_t tries; uint8_t received; struct timeval expiry; @@ -203,6 +207,6 @@ void freebios(struct queue *q); int radsrv(struct request *rq); X509 *verifytlscert(SSL *ssl); int verifyconfcert(X509 *cert, struct clsrvconf *conf); -int replyh(struct server *server, unsigned char *buf); +void replyh(struct server *server, unsigned char *buf); int connecttcp(struct addrinfo *addrinfo, struct addrinfo *src); int bindtoaddr(struct addrinfo *addrinfo, int family, int reuse, int v6only);