summaryrefslogtreecommitdiffstats
path: root/pcilib/pcilib.h
diff options
context:
space:
mode:
authorVasilii Chernov <vchernov@inr.ru>2016-02-11 12:00:54 +0100
committerVasilii Chernov <vchernov@inr.ru>2016-02-11 12:00:54 +0100
commitf526c4a5a3e4f35bb1c4b03af1f3244a8c0db48a (patch)
treea818ed42d630e807e9886767e326c8970a77c78d /pcilib/pcilib.h
parentd9a31945a92a76e590657dc2e65bb20b6ea95d90 (diff)
downloadpcitool-f526c4a5a3e4f35bb1c4b03af1f3244a8c0db48a.tar.gz
pcitool-f526c4a5a3e4f35bb1c4b03af1f3244a8c0db48a.tar.bz2
pcitool-f526c4a5a3e4f35bb1c4b03af1f3244a8c0db48a.tar.xz
pcitool-f526c4a5a3e4f35bb1c4b03af1f3244a8c0db48a.zip
Change error logging method in Python wrap. Move functions, that converts values between PyObject and pcilib_value_t to py.c
Diffstat (limited to 'pcilib/pcilib.h')
-rw-r--r--pcilib/pcilib.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/pcilib/pcilib.h b/pcilib/pcilib.h
index 4d2b7e9..23fe9be 100644
--- a/pcilib/pcilib.h
+++ b/pcilib/pcilib.h
@@ -263,6 +263,21 @@ extern "C" {
*/
int pcilib_set_logger(pcilib_log_priority_t min_prio, pcilib_logger_t logger, void *arg);
+/**
+ * Gets current logger function.
+ */
+pcilib_logger_t pcilib_get_logger();
+
+/**
+ * Gets current logger min priority.
+ */
+pcilib_log_priority_t pcilib_get_logger_min_prio();
+
+/**
+ * Gets current logger argument.
+ */
+void* pcilib_get_logger_argument();
+
/** public_api_global
* @}
*/