]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/shared/output-mode.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
5 Copyright 2013 Lennart Poettering
10 typedef enum OutputMode
{
14 OUTPUT_SHORT_ISO_PRECISE
,
16 OUTPUT_SHORT_MONOTONIC
,
26 _OUTPUT_MODE_INVALID
= -1
29 /* The output flags definitions are shared by the logs and process tree output. Some apply to both, some only to the
30 * logs output, others only to the process tree output. */
32 typedef enum OutputFlags
{
33 OUTPUT_SHOW_ALL
= 1 << 0,
34 OUTPUT_FOLLOW
= 1 << 1,
35 OUTPUT_WARN_CUTOFF
= 1 << 2,
36 OUTPUT_FULL_WIDTH
= 1 << 3,
37 OUTPUT_COLOR
= 1 << 4,
38 OUTPUT_CATALOG
= 1 << 5,
39 OUTPUT_BEGIN_NEWLINE
= 1 << 6,
41 OUTPUT_KERNEL_THREADS
= 1 << 8,
42 OUTPUT_NO_HOSTNAME
= 1 << 9,
45 const char* output_mode_to_string(OutputMode m
) _const_
;
46 OutputMode
output_mode_from_string(const char *s
) _pure_
;