commit | b4b6d4a02fa8aa8187d426b508fb7f3b69df0dcc | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Wed Jan 02 15:54:55 2019 +0000 |
committer | Andrew Scull <ascull@google.com> | Wed Jan 02 15:54:55 2019 +0000 |
tree | fdf4498bc30cb80757eaf20b46ea866b23141a93 |
v4.19.13 snapshot.
diff --git a/tools/lib/api/debug.h b/tools/lib/api/debug.h new file mode 100644 index 0000000..3684dd6 --- /dev/null +++ b/tools/lib/api/debug.h
@@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __API_DEBUG_H__ +#define __API_DEBUG_H__ + +typedef int (*libapi_print_fn_t)(const char *, ...); + +void libapi_set_print(libapi_print_fn_t warn, + libapi_print_fn_t info, + libapi_print_fn_t debug); + +#endif /* __API_DEBUG_H__ */