From: Linus Nordberg Date: Fri, 4 Feb 2011 12:59:40 +0000 (+0100) Subject: Add comments on some error codes. X-Git-Tag: libradsec-0.0.1~61 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=radsecproxy.git;a=commitdiff_plain;h=c1364efc8477b6e1045aee66d58f5fdf47a4d6f2 Add comments on some error codes. --- 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 {