]> git.alsa-project.org Git - alsa-lib.git/commitdiff
error: add missing log_priority/interface functions to header file
authorJaroslav Kysela <perex@perex.cz>
Fri, 7 Nov 2025 15:21:05 +0000 (16:21 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 7 Nov 2025 17:09:26 +0000 (18:09 +0100)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
include/error.h

index 13a9d2bc73dac09eccca2944eb089659f7a3047a..faeff8e0994a0fd0d6d5a7880aea190647c0f965 100644 (file)
@@ -91,6 +91,8 @@ void snd_lib_log(int prio, int interface, const char *file, int line, const char
 void snd_lib_check(int interface, const char *file, int line, const char *function, int errcode, const char *fmt, ...);
 snd_lib_log_handler_t snd_lib_log_set_handler(snd_lib_log_handler_t handler);
 snd_lib_log_handler_t snd_lib_log_set_local(snd_lib_log_handler_t handler);
+const char *snd_lib_log_priority(int prio);
+const char *snd_lib_log_interface(int interface);
 
 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 95)
 #define snd_error(interface, ...) snd_lib_log(SND_LOG_ERROR, SND_ILOG_##interface, __FILE__, __LINE__, __func__, 0, __VA_ARGS__) /**< Shows an error log message. */