diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2012-02-08 19:52:43 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2012-02-10 09:30:40 +0100 |
commit | 41106a07486f46de5dac2fd55233691172d4fe59 (patch) | |
tree | 2a10f011fabcb911211058e932345f71327eafbf /sigrokdecode.h | |
parent | 3b5839d56023d6105ea58766313f26c15f6d0877 (diff) | |
download | libsigrokdecode-41106a07486f46de5dac2fd55233691172d4fe59.tar.gz libsigrokdecode-41106a07486f46de5dac2fd55233691172d4fe59.zip |
srd: More consistent log related function names.
Also, fix typos, constify some parameters, add more Doxygen comments.
Diffstat (limited to 'sigrokdecode.h')
-rw-r--r-- | sigrokdecode.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sigrokdecode.h b/sigrokdecode.h index 1761521..a7ea910 100644 --- a/sigrokdecode.h +++ b/sigrokdecode.h @@ -223,12 +223,12 @@ int py_strlist_to_char(PyObject *py_strlist, char ***outstr); /*--- log.c -----------------------------------------------------------------*/ typedef int (*srd_log_handler_t)(void *data, int loglevel, const char *format, va_list args); -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); +int srd_log_loglevel_set(int loglevel); +int srd_log_loglevel_get(void); +int srd_log_handler_set(srd_log_handler_t handler, void *data); +int srd_log_handler_set_default(void); +int srd_log_logdomain_set(const char *logdomain); +char *srd_log_logdomain_get(void); #ifdef __cplusplus } |