summaryrefslogtreecommitdiff
path: root/radsecproxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'radsecproxy.h')
-rw-r--r--radsecproxy.h6
1 files changed, 5 insertions, 1 deletions
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);