From 8da61292f595c5e700a4fef981b0e0d07910b4b2 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 30 Apr 2015 19:51:49 +0200 Subject: Provide an interface for logging debug messages --- pcilib/error.h | 1 + 1 file changed, 1 insertion(+) (limited to 'pcilib/error.h') diff --git a/pcilib/error.h b/pcilib/error.h index 5b5f8b1..e94fd25 100644 --- a/pcilib/error.h +++ b/pcilib/error.h @@ -27,6 +27,7 @@ enum { } pcilib_errot_t; void pcilib_log_message(const char *file, int line, pcilib_log_priority_t prio, const char *msg, ...); +void pcilib_log_vmessage(const char *file, int line, pcilib_log_priority_t prio, const char *msg, va_list va); #define pcilib_log(prio, ...) \ pcilib_log_message(__FILE__, __LINE__, prio, __VA_ARGS__) -- cgit v1.2.3