debug.h 284 B

123456789101112
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __API_DEBUG_H__
  3. #define __API_DEBUG_H__
  4. typedef int (*libapi_print_fn_t)(const char *, ...);
  5. void libapi_set_print(libapi_print_fn_t warn,
  6. libapi_print_fn_t info,
  7. libapi_print_fn_t debug);
  8. #endif /* __API_DEBUG_H__ */