From 41106a07486f46de5dac2fd55233691172d4fe59 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 8 Feb 2012 19:52:43 +0100 Subject: srd: More consistent log related function names. Also, fix typos, constify some parameters, add more Doxygen comments. --- sigrokdecode.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sigrokdecode.h') 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 } -- cgit v1.2.3-70-g09d2