summaryrefslogtreecommitdiff
path: root/radsecproxy.h
diff options
context:
space:
mode:
authorvenaas <venaas>2007-01-16 14:04:27 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2007-01-16 14:04:27 +0000
commit234912c553f7808f25064b1a3980eb3651bb313e (patch)
treea590d3f313cd7bb472816bd4d1e1f89fe8a65d04 /radsecproxy.h
parent10b6ffd2053e96df55c3f7693980aa9dbe68ba16 (diff)
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
Diffstat (limited to 'radsecproxy.h')
-rw-r--r--radsecproxy.h7
1 files changed, 7 insertions, 0 deletions
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);