diff options
author | Vasilii Chernov <vchernov@inr.ru> | 2016-02-11 12:00:54 +0100 |
---|---|---|
committer | Vasilii Chernov <vchernov@inr.ru> | 2016-02-11 12:00:54 +0100 |
commit | f526c4a5a3e4f35bb1c4b03af1f3244a8c0db48a (patch) | |
tree | a818ed42d630e807e9886767e326c8970a77c78d /pcilib/pcilib.h | |
parent | d9a31945a92a76e590657dc2e65bb20b6ea95d90 (diff) | |
download | pcitool-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.h | 15 |
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 * @} */ |