summaryrefslogtreecommitdiff
path: root/lib/err.c
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/err.c
parent21300197afcabc90366454eaa34e67187c53d974 (diff)
Rename the error functions.
Diffstat (limited to 'lib/err.c')
-rw-r--r--lib/err.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/err.c b/lib/err.c
index 695de72..00de47f 100644
--- a/lib/err.c
+++ b/lib/err.c
@@ -75,7 +75,7 @@ _ctx_err_vpush_fl (struct rs_handle *ctx, int code, const char *file, int line,
}
int
-rs_ctx_err_push (struct rs_handle *ctx, int code, const char *fmt, ...)
+rs_err_ctx_push (struct rs_handle *ctx, int code, const char *fmt, ...)
{
va_list args;
va_start (args, fmt);
@@ -85,7 +85,7 @@ 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, ...)
+rs_err_ctx_push_fl (struct rs_handle *ctx, int code, const char *file, int line, const char *fmt, ...)
{
va_list args;
va_start (args, fmt);
@@ -105,7 +105,7 @@ _conn_err_vpush_fl (struct rs_connection *conn, int code, const char *file, int
}
int
-rs_conn_err_push (struct rs_connection *conn, int code, const char *fmt, ...)
+rs_err_conn_push (struct rs_connection *conn, int code, const char *fmt, ...)
{
va_list args;
va_start (args, fmt);
@@ -115,7 +115,7 @@ 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, ...)
+rs_err_conn_push_fl (struct rs_connection *conn, int code, const char *file, int line, const char *fmt, ...)
{
va_list args;
va_start (args, fmt);
@@ -125,7 +125,7 @@ rs_conn_err_push_fl (struct rs_connection *conn, int code, const char *file, int
}
struct rs_error *
-rs_ctx_err_pop (struct rs_handle *ctx)
+rs_err_ctx_pop (struct rs_handle *ctx)
{
struct rs_error *err;
@@ -137,7 +137,7 @@ rs_ctx_err_pop (struct rs_handle *ctx)
}
struct rs_error *
-rs_conn_err_pop (struct rs_connection *conn)
+rs_err_conn_pop (struct rs_connection *conn)
{
struct rs_error *err;