]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/analyze/analyze.h
Merge pull request #25168 from valentindavid/valentindavid/umount-move-recursive...
[thirdparty/systemd.git] / src / analyze / analyze.h
CommitLineData
30bddc06
LP
1/* SPDX-License-Identifier: LGPL-2.1-or-later */
2#pragma once
3
4#include <stdbool.h>
5
f2562398 6#include "analyze-verify-util.h"
25eb70af 7#include "bus-util.h"
57a22a3f 8#include "json.h"
08e36480 9#include "pager.h"
5229b03c 10#include "time-util.h"
113dd9cb 11#include "unit-file.h"
5229b03c 12
cccd2af6
LP
13typedef enum DotMode {
14 DEP_ALL,
15 DEP_ORDER,
16 DEP_REQUIRE,
17} DotMode;
18
19extern DotMode arg_dot;
20extern char **arg_dot_from_patterns, **arg_dot_to_patterns;
ef215fa7 21extern usec_t arg_fuzz;
08e36480 22extern PagerFlags arg_pager_flags;
25eb70af 23extern BusTransport arg_transport;
ba474dad 24extern const char *arg_host;
b380b643 25extern LookupScope arg_scope;
f2562398 26extern RecursiveErrors arg_recursive_errors;
57a22a3f
LP
27extern bool arg_man;
28extern bool arg_generators;
c649b343 29extern char *arg_root;
57a22a3f
LP
30extern char *arg_security_policy;
31extern bool arg_offline;
32extern unsigned arg_threshold;
5229b03c
LP
33extern unsigned arg_iterations;
34extern usec_t arg_base_time;
e82116e5 35extern char *arg_unit;
57a22a3f 36extern JsonFormatFlags arg_json_format_flags;
08e36480 37extern bool arg_quiet;
57a22a3f 38extern char *arg_profile;
ff46b2f9
JZ
39extern bool arg_legend;
40extern bool arg_table;
5229b03c 41
25eb70af
LP
42int acquire_bus(sd_bus **bus, bool *use_full_bus);
43
cccd2af6
LP
44int bus_get_unit_property_strv(sd_bus *bus, const char *path, const char *property, char ***strv);
45
30bddc06 46void time_parsing_hint(const char *p, bool calendar, bool timestamp, bool timespan);