From a1ea5fc103e04c1d333bebb6e68b3699a414d1e9 Mon Sep 17 00:00:00 2001 From: venaas Date: Thu, 11 Sep 2008 14:42:21 +0000 Subject: various code improvements git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@375 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- radsecproxy.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'radsecproxy.h') 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); -- cgit v1.2.3