summaryrefslogtreecommitdiff
path: root/radsecproxy.h
diff options
context:
space:
mode:
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);