blob: de8ab059dd96173322182d72a18fbc0e9a7bbe4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* internal.h - printk internal definitions
*/
#ifdef CONFIG_PRINTK
/* Flags for a single printk record. */
enum printk_info_flags {
LOG_NEWLINE = 2, /* text ended with a newline */
LOG_CONT = 8, /* text is a fragment of a continuation line */
};
u16 printk_parse_prefix(const char *text, int *level,
enum printk_info_flags *flags);
#endif /* CONFIG_PRINTK */
|