summaryrefslogtreecommitdiff
path: root/sigrokdecode.h
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-01-25 11:00:04 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-01-26 01:03:54 +0100
commit3a8b2e789262545fe409f95f69319b80e66aac13 (patch)
tree76559581c17a42539d38898ad6dff2f6706be001 /sigrokdecode.h
parentac941bf91b1a4f75ed793ca1547a1bd75bac0a1a (diff)
downloadlibsigrokdecode-3a8b2e789262545fe409f95f69319b80e66aac13.tar.gz
libsigrokdecode-3a8b2e789262545fe409f95f69319b80e66aac13.zip
srd: log: Support for setting a log domain (prefix).
Diffstat (limited to 'sigrokdecode.h')
-rw-r--r--sigrokdecode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sigrokdecode.h b/sigrokdecode.h
index 815fd74..2c9cb40 100644
--- a/sigrokdecode.h
+++ b/sigrokdecode.h
@@ -224,6 +224,8 @@ int srd_set_loglevel(int loglevel);
int srd_get_loglevel(void);
int srd_log_set_handler(srd_log_handler_t handler, void *data);
int srd_log_set_default_handler(void);
+int srd_log_set_logdomain(const char *logdomain);
+char *srd_log_get_logdomain(void);
#ifdef __cplusplus
}