^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef __API_DEBUG_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define __API_DEBUG_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) typedef int (*libapi_print_fn_t)(const char *, ...);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) void libapi_set_print(libapi_print_fn_t warn,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) libapi_print_fn_t info,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) libapi_print_fn_t debug);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #endif /* __API_DEBUG_H__ */