summaryrefslogtreecommitdiff
path: root/radsecproxy.h
diff options
context:
space:
mode:
authorvenaas <venaas>2008-08-21 07:11:59 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-08-21 07:11:59 +0000
commit230b3daa9734ba0c62f24e606137a3bdbc8ec340 (patch)
tree927bb31e3e0d224826f063cab8a474a39e070c4a /radsecproxy.h
parent7f07d072c89ee15fe828f6586d05d1ad07d3ba2c (diff)
separated dtls into a separate file
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@347 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.h')
-rw-r--r--radsecproxy.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/radsecproxy.h b/radsecproxy.h
index 34f56ca..5ee7a57 100644
--- a/radsecproxy.h
+++ b/radsecproxy.h
@@ -201,3 +201,13 @@ struct protodefs {
#define SOCKADDR_SIZE(addr) ((addr).ss_family == AF_INET ? \
sizeof(struct sockaddr_in) : \
sizeof(struct sockaddr_in6))
+
+struct clsrvconf *find_clconf(uint8_t type, struct sockaddr *addr, struct list_node **cur);
+struct clsrvconf *find_srvconf(uint8_t type, struct sockaddr *addr, struct list_node **cur);
+struct client *addclient(struct clsrvconf *conf);
+void removeclient(struct client *client);
+void removeclientrqs(struct client *client);
+int radsrv(struct request *rq);
+X509 *verifytlscert(SSL *ssl);
+int verifyconfcert(X509 *cert, struct clsrvconf *conf);
+int replyh(struct server *server, unsigned char *buf);