diff options
author | Daniel Elstner <daniel.kitta@gmail.com> | 2015-09-13 21:10:40 +0200 |
---|---|---|
committer | Daniel Elstner <daniel.kitta@gmail.com> | 2015-09-13 21:10:40 +0200 |
commit | 9fb7e7fe2c7edafdeedf1976d1723ffe557c8a7c (patch) | |
tree | db28fb4973ff651a12c27f0a9fb9cf7ca2f05d8d /libsigrokdecode.h | |
parent | 2730fe2397101f2c0a66abd3a7fd5fa531d3c710 (diff) | |
download | libsigrokdecode-9fb7e7fe2c7edafdeedf1976d1723ffe557c8a7c.tar.gz libsigrokdecode-9fb7e7fe2c7edafdeedf1976d1723ffe557c8a7c.zip |
log: Remove srd_log_logdomain_{get,set} from the API
The confusingly named srd_log_logdomain_set() simply set a global
string prefixed to the log message by the default log callback.
This is pretty much useless, misleadingly named, and not used by
either sigrok-cli or PulseView.
Diffstat (limited to 'libsigrokdecode.h')
-rw-r--r-- | libsigrokdecode.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libsigrokdecode.h b/libsigrokdecode.h index 9d403dd..03a5de0 100644 --- a/libsigrokdecode.h +++ b/libsigrokdecode.h @@ -310,8 +310,6 @@ SRD_API int srd_log_loglevel_set(int loglevel); SRD_API int srd_log_loglevel_get(void); SRD_API int srd_log_callback_set(srd_log_callback cb, void *cb_data); SRD_API int srd_log_callback_set_default(void); -SRD_API int srd_log_logdomain_set(const char *logdomain); -SRD_API char *srd_log_logdomain_get(void); /* error.c */ SRD_API const char *srd_strerror(int error_code); |