summaryrefslogtreecommitdiff
path: root/lib/err.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2010-09-28 23:20:17 +0200
committerLinus Nordberg <linus@nordu.net>2010-09-28 23:20:17 +0200
commit7ef1fda097c5c96e201d50db2892d1c2354eb6d4 (patch)
tree9f27e58c5af4006f5d418ad0ce2ce0fd209c99ca /lib/err.c
parente981fbcf3909fbaba462c7b578f29fa67b3bc74b (diff)
WIP
Diffstat (limited to 'lib/err.c')
-rw-r--r--lib/err.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/err.c b/lib/err.c
index 9fcad0b..8ee76a6 100644
--- a/lib/err.c
+++ b/lib/err.c
@@ -72,6 +72,16 @@ rs_ctx_err_push (struct rs_handle *ctx, int code, const char *fmt, ...)
return code;
}
+int
+rs_ctx_err_push_fl (struct rs_handle *ctx, int code, const char *file, int line, const char *fmt, ...)
+{
+ va_list args;
+ va_start (args, fmt);
+ _ctx_err_vpush_fl (ctx, code, file, line, fmt, args);
+ va_end (args);
+ return code;
+}
+
static int
_conn_err_vpush_fl (struct rs_connection *conn, int code, const char *file, int line, const char *fmt, va_list args)
{