summaryrefslogtreecommitdiff
path: root/lib/include
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2010-10-03 19:23:43 +0200
committerLinus Nordberg <linus@nordu.net>2010-10-03 19:23:43 +0200
commit63a5bc0182881d8f806a9acdf47b708492b8a41b (patch)
treea76d8b3d548e959ba1ddcb311a11638838b19df5 /lib/include
parent21300197afcabc90366454eaa34e67187c53d974 (diff)
Rename the error functions.
Diffstat (limited to 'lib/include')
-rw-r--r--lib/include/radsec/radsec.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/include/radsec/radsec.h b/lib/include/radsec/radsec.h
index 158ca2a..dea4109 100644
--- a/lib/include/radsec/radsec.h
+++ b/lib/include/radsec/radsec.h
@@ -107,12 +107,12 @@ int rs_attr_create(struct rs_connection *conn, struct rs_attr **attr, const char
void rs_attr_destroy(struct rs_attr *attr);
/* Error. */
-int rs_ctx_err_push(struct rs_handle *ctx, int code, const char *fmt, ...);
-int rs_ctx_err_push_fl(struct rs_handle *ctx, int code, const char *file, int line, const char *fmt, ...);
-struct rs_error *rs_ctx_err_pop (struct rs_handle *ctx);
-int rs_conn_err_push(struct rs_connection *conn, int code, const char *fmt, ...);
-int rs_conn_err_push_fl(struct rs_connection *conn, int code, const char *file, int line, const char *fmt, ...);
-struct rs_error *rs_conn_err_pop (struct rs_connection *conn);
+int rs_err_ctx_push(struct rs_handle *ctx, int code, const char *fmt, ...);
+int rs_err_ctx_push_fl(struct rs_handle *ctx, int code, const char *file, int line, const char *fmt, ...);
+struct rs_error *rs_err_ctx_pop (struct rs_handle *ctx);
+int rs_err_conn_push(struct rs_connection *conn, int code, const char *fmt, ...);
+int rs_err_conn_push_fl(struct rs_connection *conn, int code, const char *file, int line, const char *fmt, ...);
+struct rs_error *rs_err_conn_pop (struct rs_connection *conn);
void rs_err_free(struct rs_error *err);
char *rs_err_msg(struct rs_error *err, int dofree_flag);
int rs_err_code(struct rs_error *err, int dofree_flag);