summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2015-01-16 16:27:37 +0100
committerLinus Nordberg <linus@nordberg.se>2015-01-16 16:27:37 +0100
commit45f4e0ab36930bdc116b8cb6794e8088481b9cc0 (patch)
tree8b59b881337caa8a0ffb64afb9de0a3abefaa758
parent70638056ae44d5976b8557fbbdce40575d794324 (diff)
Add comments on functions.
-rw-r--r--radsecproxy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index a074ec2..e098a9a 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -1434,6 +1434,8 @@ void rmclientrq(struct request *rq, uint8_t id) {
}
}
+/* Called from server readers, handling incoming requests from
+ * clients. */
/* returns 0 if validation/authentication fails, else 1 */
int radsrv(struct request *rq) {
struct radmsg *msg = NULL;
@@ -1602,6 +1604,7 @@ exit:
return 1;
}
+/* Called from client readers, handling replies from servers. */
void replyh(struct server *server, unsigned char *buf) {
struct client *from;
struct rqout *rqout;