]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/analyze/analyze.h
analyze: split out "dot" verb
[thirdparty/systemd.git] / src / analyze / analyze.h
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
3
4 #include <stdbool.h>
5
6 #include "bus-util.h"
7 #include "pager.h"
8 #include "time-util.h"
9
10 typedef enum DotMode {
11 DEP_ALL,
12 DEP_ORDER,
13 DEP_REQUIRE,
14 } DotMode;
15
16 extern DotMode arg_dot;
17 extern char **arg_dot_from_patterns, **arg_dot_to_patterns;
18 extern PagerFlags arg_pager_flags;
19 extern BusTransport arg_transport;
20 extern unsigned arg_iterations;
21 extern usec_t arg_base_time;
22 extern bool arg_quiet;
23
24 int acquire_bus(sd_bus **bus, bool *use_full_bus);
25
26 int bus_get_unit_property_strv(sd_bus *bus, const char *path, const char *property, char ***strv);
27
28 void time_parsing_hint(const char *p, bool calendar, bool timestamp, bool timespan);