void rs_log0(int level, char const *fn, char const *fmt, ...) { va_list va; va_start(va, fmt); rs_log_va(level, fn, fmt, va); va_end(va); }
/* This is called directly if the machine doesn't allow varargs * macros. */ void rs_error0(char const *s, ...) { va_list va; va_start(va, s); rs_log_va(RS_LOG_ERR, PACKAGE, s, va); va_end(va); }
/* This is called directly if the machine doesn't allow varargs * macros. */ void rs_fatal0(char const *s, ...) { va_list va; va_start(va, s); rs_log_va(RS_LOG_CRIT, PACKAGE, s, va); va_end(va); }
/** * Called by a macro, used on platforms where we can't determine the * calling function name. */ void rs_log0_nofn(int level, char const *fmt, ...) { va_list va; va_start(va, fmt); rs_log_va(level, PACKAGE, fmt, va); va_end(va); }
/* This is called directly if the machine doesn't allow varargs * macros. */ void rs_log_trace_nofn(char const *s, ...) { va_list va; va_start(va, s); rs_log_va(RS_LOG_DEBUG, NULL, s, va); va_end(va); }
/* This is called directly if the machine doesn't allow varargs * macros. */ void rs_log_notice_nofn(char const *s, ...) { va_list va; va_start(va, s); rs_log_va(RS_LOG_NOTICE, NULL, s, va); va_end(va); }
/* This is called directly if the machine doesn't allow varargs * macros. */ void rs_log_info_nofn(char const *s, ...) { va_list va; va_start(va, s); rs_log_va(RS_LOG_INFO, NULL, s, va); va_end(va); }
/* This is called directly if the machine doesn't allow varargs * macros. */ void rs_log_critical_nofn(char const *s, ...) { va_list va; va_start(va, s); rs_log_va(RS_LOG_CRIT, NULL, s, va); va_end(va); }
/* This is called directly if the machine doesn't allow varargs * macros. */ void rs_log_warning_nofn(char const *s, ...) { va_list va; va_start(va, s); rs_log_va(RS_LOG_WARNING, NULL, s, va); va_end(va); }
/* This is called directly if the machine doesn't allow varargs * macros. */ void rs_log_error_nofn(char const *s, ...) { va_list va; va_start(va, s); rs_log_va(RS_LOG_ERR, NULL, s, va); va_end(va); }
/* This is called directly if the machine doesn't allow varargs * macros. */ void rs_trace0(char const *s, ...) { #ifdef DO_RS_TRACE va_list va; va_start(va, s); rs_log_va(RS_LOG_DEBUG, PACKAGE, s, va); va_end(va); #endif /* !DO_RS_TRACE */ }