summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-03-08 14:27:59 +0100
committerLinus Nordberg <linus@nordu.net>2011-03-08 14:27:59 +0100
commit6f3ae93eb1a5c4e352b42a9fae9b6f544a2e341a (patch)
tree8fd0957b92453e61692d6f1d2d9c731539c5c16d /lib
parent76c95bfc9033167fa692172360000df853b2a094 (diff)
Update rs_err_msg() prototype.
Also, rename enum rs_err_code to not collide with the function named the same.
Diffstat (limited to 'lib')
-rw-r--r--lib/include/radsec/radsec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/include/radsec/radsec.h b/lib/include/radsec/radsec.h
index 5f8f4db..f620fed 100644
--- a/lib/include/radsec/radsec.h
+++ b/lib/include/radsec/radsec.h
@@ -5,7 +5,7 @@
#include <unistd.h>
#include <sys/time.h>
-enum rs_err_code {
+enum rs_error_code {
RSE_OK = 0,
RSE_NOMEM = 1,
RSE_NOSYS = 2,
@@ -167,7 +167,7 @@ int rs_err_conn_push_fl(struct rs_connection *conn,
struct rs_error *rs_err_conn_pop(struct rs_connection *conn);
int rs_err_conn_peek_code (struct rs_connection *conn);
void rs_err_free(struct rs_error *err);
-char *rs_err_msg(struct rs_error *err, int dofree_flag);
+char *rs_err_msg(struct rs_error *err);
int rs_err_code(struct rs_error *err, int dofree_flag);
#if defined (__cplusplus)