From 234912c553f7808f25064b1a3980eb3651bb313e Mon Sep 17 00:00:00 2001 From: venaas Date: Tue, 16 Jan 2007 14:04:27 +0000 Subject: added code for reading main config and restructured tls init code git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@39 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- radsecproxy.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'radsecproxy.h') diff --git a/radsecproxy.h b/radsecproxy.h index b4393d4..e6dca52 100644 --- a/radsecproxy.h +++ b/radsecproxy.h @@ -42,6 +42,12 @@ #define RAD_Attr_Length 1 #define RAD_Attr_Value 2 +struct options { + char *tlscertificatefile; + char *tlscertificatekeyfile; + char *udpserverport; +}; + /* requests that a client will send */ struct request { unsigned char *buf; @@ -101,6 +107,7 @@ struct server { void errx(char *format, ...); void err(char *format, ...); +char *stringcopy(char *s, int len); char *addr2string(struct sockaddr *addr, socklen_t len); int bindport(int type, char *port); int connectport(int type, char *host, char *port); -- cgit v1.1