xref: /OK3568_Linux_fs/kernel/tools/lib/api/debug.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun #ifndef __API_DEBUG_H__
3*4882a593Smuzhiyun #define __API_DEBUG_H__
4*4882a593Smuzhiyun 
5*4882a593Smuzhiyun typedef int (*libapi_print_fn_t)(const char *, ...);
6*4882a593Smuzhiyun 
7*4882a593Smuzhiyun void libapi_set_print(libapi_print_fn_t warn,
8*4882a593Smuzhiyun 		      libapi_print_fn_t info,
9*4882a593Smuzhiyun 		      libapi_print_fn_t debug);
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun #endif /* __API_DEBUG_H__ */
12