alsa-lib/include/error.h

22 lines
516 B
C
Raw Normal View History

1998-08-13 15:42:56 +00:00
/*
* error.h
*/
#define SND_ERROR_BEGIN 500000
1999-07-22 10:49:39 +00:00
#define SND_ERROR_INCOMPATIBLE_VERSION (SND_ERROR_BEGIN+0)
1998-08-13 15:42:56 +00:00
#ifdef __cplusplus
extern "C" {
#endif
const char *snd_strerror(int errnum);
1998-08-13 15:42:56 +00:00
2000-11-25 16:36:18 +00:00
typedef void (snd_lib_error_handler_t)(const char *file, int line, const char *function, int err, const char *fmt, ...) /* __attribute__ ((weak, format (printf, 5, 6))) */;
extern snd_lib_error_handler_t *snd_lib_error;
extern int snd_lib_error_set_handler(snd_lib_error_handler_t *handler);
1998-08-13 15:42:56 +00:00
#ifdef __cplusplus
}
#endif