summaryrefslogtreecommitdiffstats
path: root/pcilib/error.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-04-30 19:51:49 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-04-30 19:51:49 +0200
commit8da61292f595c5e700a4fef981b0e0d07910b4b2 (patch)
treea012e6312d95d50c3e8bd58bc972dbccdd3bd0bf /pcilib/error.h
parenta740fcee56bd456a759e03526df476e1791fb2bd (diff)
downloadpcitool-8da61292f595c5e700a4fef981b0e0d07910b4b2.tar.gz
pcitool-8da61292f595c5e700a4fef981b0e0d07910b4b2.tar.bz2
pcitool-8da61292f595c5e700a4fef981b0e0d07910b4b2.tar.xz
pcitool-8da61292f595c5e700a4fef981b0e0d07910b4b2.zip
Provide an interface for logging debug messages
Diffstat (limited to 'pcilib/error.h')
-rw-r--r--pcilib/error.h1
1 files changed, 1 insertions, 0 deletions
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__)