summaryrefslogtreecommitdiff
path: root/lib/include/radsec
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-02-04 13:59:40 +0100
committerLinus Nordberg <linus@nordu.net>2011-02-04 13:59:40 +0100
commitc1364efc8477b6e1045aee66d58f5fdf47a4d6f2 (patch)
tree2bac30c52ab9a720668c3d6ae02f370709fb81a5 /lib/include/radsec
parent3bc1fa7833f021604074aaa7a53cdca34be34d5f (diff)
Add comments on some error codes.
Diffstat (limited to 'lib/include/radsec')
-rw-r--r--lib/include/radsec/radsec.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/include/radsec/radsec.h b/lib/include/radsec/radsec.h
index c646a0b..a1f7afa 100644
--- a/lib/include/radsec/radsec.h
+++ b/lib/include/radsec/radsec.h
@@ -11,16 +11,16 @@ enum rs_err_code {
RSE_INVALID_CTX = 3,
RSE_INVALID_CONN = 4,
RSE_CONN_TYPE_MISMATCH = 5,
- RSE_FR = 6,
+ RSE_FR = 6, /* FreeRADIUS error. */
RSE_BADADDR = 7,
RSE_NOPEER = 8,
- RSE_EVENT = 9,
+ RSE_EVENT = 9, /* libevent error. */
RSE_CONNERR = 10,
RSE_CONFIG = 11,
RSE_BADAUTH = 12,
RSE_INTERNAL = 13,
- RSE_SSLERR = 14,
- RSE_SOME_ERROR = 21,
+ RSE_SSLERR = 14, /* OpenSSL error. */
+ RSE_SOME_ERROR = 21, /* Unspecified error. Shouldn't happen. */
};
enum rs_conn_type {