From 7ef1fda097c5c96e201d50db2892d1c2354eb6d4 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Tue, 28 Sep 2010 23:20:17 +0200 Subject: WIP --- lib/err.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/err.c') 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) { -- cgit v1.1