From c1364efc8477b6e1045aee66d58f5fdf47a4d6f2 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Fri, 4 Feb 2011 13:59:40 +0100 Subject: Add comments on some error codes. --- lib/include/radsec/radsec.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/include/radsec') 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 { -- cgit v1.1