diff options
43 files changed, 63 insertions, 63 deletions
diff --git a/src/analyze/analyze-blame.c b/src/analyze/analyze-blame.c index 6e0e560377..6cd6846956 100644 --- a/src/analyze/analyze-blame.c +++ b/src/analyze/analyze-blame.c @@ -5,7 +5,7 @@ #include "analyze-time-data.h" #include "format-table.h" -int analyze_blame(int argc, char *argv[], void *userdata) { +int verb_blame(int argc, char *argv[], void *userdata) { _cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL; _cleanup_(unit_times_free_arrayp) UnitTimes *times = NULL; _cleanup_(table_unrefp) Table *table = NULL; diff --git a/src/analyze/analyze-blame.h b/src/analyze/analyze-blame.h index f099343bc1..d9aa985c1e 100644 --- a/src/analyze/analyze-blame.h +++ b/src/analyze/analyze-blame.h @@ -1,4 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -int analyze_blame(int argc, char *argv[], void *userdata); +int verb_blame(int argc, char *argv[], void *userdata); diff --git a/src/analyze/analyze-calendar.c b/src/analyze/analyze-calendar.c index ac71af93c0..ed4697f865 100644 --- a/src/analyze/analyze-calendar.c +++ b/src/analyze/analyze-calendar.c @@ -122,7 +122,7 @@ static int test_calendar_one(usec_t n, const char *p) { return table_print(table, NULL); } -int test_calendar(int argc, char *argv[], void *userdata) { +int verb_calendar(int argc, char *argv[], void *userdata) { int ret = 0, r; char **p; usec_t n; diff --git a/src/analyze/analyze-calendar.h b/src/analyze/analyze-calendar.h index 7b73fce930..3d6eac200d 100644 --- a/src/analyze/analyze-calendar.h +++ b/src/analyze/analyze-calendar.h @@ -1,4 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -int test_calendar(int argc, char *argv[], void *userdata); +int verb_calendar(int argc, char *argv[], void *userdata); diff --git a/src/analyze/analyze-capability.c b/src/analyze/analyze-capability.c index a24ebdc9f2..ebb205e7f2 100644 --- a/src/analyze/analyze-capability.c +++ b/src/analyze/analyze-capability.c @@ -6,7 +6,7 @@ #include "capability-util.h" #include "format-table.h" -int dump_capabilities(int argc, char *argv[], void *userdata) { +int verb_capabilities(int argc, char *argv[], void *userdata) { _cleanup_(table_unrefp) Table *table = NULL; unsigned last_cap; int r; diff --git a/src/analyze/analyze-capability.h b/src/analyze/analyze-capability.h index f770f93f78..07ff0887fd 100644 --- a/src/analyze/analyze-capability.h +++ b/src/analyze/analyze-capability.h @@ -1,4 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -int dump_capabilities(int argc, char *argv[], void *userdata); +int verb_capabilities(int argc, char *argv[], void *userdata); diff --git a/src/analyze/analyze-cat-config.c b/src/analyze/analyze-cat-config.c index e7cc33132e..079cad311b 100644 --- a/src/analyze/analyze-cat-config.c +++ b/src/analyze/analyze-cat-config.c @@ -9,7 +9,7 @@ #include "pretty-print.h" #include "strv.h" -int cat_config(int argc, char *argv[], void *userdata) { +int verb_cat_config(int argc, char *argv[], void *userdata) { char **arg, **list; int r; diff --git a/src/analyze/analyze-cat-config.h b/src/analyze/analyze-cat-config.h index 8c16c2da2a..64e87a3a6d 100644 --- a/src/analyze/analyze-cat-config.h +++ b/src/analyze/analyze-cat-config.h @@ -1,4 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -int cat_config(int argc, char *argv[], void *userdata); +int verb_cat_config(int argc, char *argv[], void *userdata); diff --git a/src/analyze/analyze-condition.c b/src/analyze/analyze-condition.c index 0343e69d8f..a382c356dc 100644 --- a/src/analyze/analyze-condition.c +++ b/src/analyze/analyze-condition.c @@ -138,6 +138,6 @@ static int verify_conditions(char **lines, UnitFileScope scope, const char *unit return r > 0 && q > 0 ? 0 : -EIO; } -int do_condition(int argc, char *argv[], void *userdata) { +int verb_condition(int argc, char *argv[], void *userdata) { return verify_conditions(strv_skip(argv, 1), arg_scope, arg_unit, arg_root); } diff --git a/src/analyze/analyze-condition.h b/src/analyze/analyze-condition.h index 9cf6204194..28ef51a453 100644 --- a/src/analyze/analyze-condition.h +++ b/src/analyze/analyze-condition.h @@ -1,4 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -int do_condition(int argc, char *argv[], void *userdata); +int verb_condition(int argc, char *argv[], void *userdata); diff --git a/src/analyze/analyze-critical-chain.c b/src/analyze/analyze-critical-chain.c index 3e2c5e7c98..d3169791d9 100644 --- a/src/analyze/analyze-critical-chain.c +++ b/src/analyze/analyze-critical-chain.c @@ -195,7 +195,7 @@ static int list_dependencies(sd_bus *bus, const char *name) { return list_dependencies_one(bus, name, 0, &units, 0); } -int analyze_critical_chain(int argc, char *argv[], void *userdata) { +int verb_critical_chain(int argc, char *argv[], void *userdata) { _cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL; _cleanup_(unit_times_free_arrayp) UnitTimes *times = NULL; Hashmap *h; diff --git a/src/analyze/analyze-critical-chain.h b/src/analyze/analyze-critical-chain.h index a5a8e2d76f..844249c911 100644 --- a/src/analyze/analyze-critical-chain.h +++ b/src/analyze/analyze-critical-chain.h @@ -1,4 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -int analyze_critical_chain(int argc, char *argv[], void *userdata); +int verb_critical_chain(int argc, char *argv[], void *userdata); diff --git a/src/analyze/analyze-dot.c b/src/analyze/analyze-dot.c index 08f9910368..3a1fe043fc 100644 --- a/src/analyze/analyze-dot.c +++ b/src/analyze/analyze-dot.c @@ -123,7 +123,7 @@ static int expand_patterns(sd_bus *bus, char **patterns, char ***ret) { return 0; } -int dot(int argc, char *argv[], void *userdata) { +int verb_dot(int argc, char *argv[], void *userdata) { _cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL; _cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL; _cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL; diff --git a/src/analyze/analyze-dot.h b/src/analyze/analyze-dot.h index 9017c1878a..144b43d1ef 100644 --- a/src/analyze/analyze-dot.h +++ b/src/analyze/analyze-dot.h @@ -1,4 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -int dot(int argc, char *argv[], void *userdata); +int verb_dot(int argc, char *argv[], void *userdata); diff --git a/src/analyze/analyze-dump.c b/src/analyze/analyze-dump.c index 549e2cd08c..24094ce614 100644 --- a/src/analyze/analyze-dump.c +++ b/src/analyze/analyze-dump.c @@ -29,7 +29,7 @@ static int dump_fallback(sd_bus *bus) { return 0; } -int dump(int argc, char *argv[], void *userdata) { +int verb_dump(int argc, char *argv[], void *userdata) { _cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL; _cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL; _cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL; diff --git a/src/analyze/analyze-dump.h b/src/analyze/analyze-dump.h index 2fd35c457d..5d6107cb58 100644 --- a/src/analyze/analyze-dump.h +++ b/src/analyze/analyze-dump.h @@ -1,4 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -int dump(int argc, char *argv[], void *userdata); +int verb_dump(int argc, char *argv[], void *userdata); diff --git a/src/analyze/analyze-exit-status.c b/src/analyze/analyze-exit-status.c index d3d9aded8e..a3f21c60ea 100644 --- a/src/analyze/analyze-exit-status.c +++ b/src/analyze/analyze-exit-status.c @@ -5,7 +5,7 @@ #include "exit-status.h" #include "format-table.h" -int dump_exit_status(int argc, char *argv[], void *userdata) { +int verb_exit_status(int argc, char *argv[], void *userdata) { _cleanup_(table_unrefp) Table *table = NULL; int r; diff --git a/src/analyze/analyze-exit-status.h b/src/analyze/analyze-exit-status.h index d26db235a1..ce14cdbb96 100644 --- a/src/analyze/analyze-exit-status.h +++ b/src/analyze/analyze-exit-status.h @@ -1,4 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -int dump_exit_status(int argc, char *argv[], void *userdata); +int verb_exit_status(int argc, char *argv[], void *userdata); diff --git a/src/analyze/analyze-filesystems.c b/src/analyze/analyze-filesystems.c index bdb64e7823..28b2fc1339 100644 --- a/src/analyze/analyze-filesystems.c +++ b/src/analyze/analyze-filesystems.c @@ -108,7 +108,7 @@ static void dump_filesystem_set(const FilesystemSet *set) { } } -int dump_filesystems(int argc, char *argv[], void *userdata) { +int verb_filesystems(int argc, char *argv[], void *userdata) { bool first = true; #if ! HAVE_LIBBPF diff --git a/src/analyze/analyze-filesystems.h b/src/analyze/analyze-filesystems.h index 04606c2ea4..09045716d0 100644 --- a/src/analyze/analyze-filesystems.h +++ b/src/analyze/analyze-filesystems.h @@ -1,4 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -int dump_filesystems(int argc, char *argv[], void *userdata); +int verb_filesystems(int argc, char *argv[], void *userdata); diff --git a/src/analyze/analyze-inspect-elf.c b/src/analyze/analyze-inspect-elf.c index 966c2eff93..cf953cd37b 100644 --- a/src/analyze/analyze-inspect-elf.c +++ b/src/analyze/analyze-inspect-elf.c @@ -128,7 +128,7 @@ static int analyze_elf(char **filenames, JsonFormatFlags json_flags) { return 0; } -int do_elf_inspection(int argc, char *argv[], void *userdata) { +int verb_elf_inspection(int argc, char *argv[], void *userdata) { pager_open(arg_pager_flags); return analyze_elf(strv_skip(argv, 1), arg_json_format_flags); diff --git a/src/analyze/analyze-inspect-elf.h b/src/analyze/analyze-inspect-elf.h index fa8e1b7ee9..a790eae6bb 100644 --- a/src/analyze/analyze-inspect-elf.h +++ b/src/analyze/analyze-inspect-elf.h @@ -1,4 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -int do_elf_inspection(int argc, char *argv[], void *userdata); +int verb_elf_inspection(int argc, char *argv[], void *userdata); diff --git a/src/analyze/analyze-plot.c b/src/analyze/analyze-plot.c index d2acf36273..d663a6561c 100644 --- a/src/analyze/analyze-plot.c +++ b/src/analyze/analyze-plot.c @@ -178,7 +178,7 @@ static int plot_unit_times(UnitTimes *u, double width, int y) { return 1; } -int analyze_plot(int argc, char *argv[], void *userdata) { +int verb_plot(int argc, char *argv[], void *userdata) { _cleanup_(free_host_infop) HostInfo *host = NULL; _cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL; _cleanup_(unit_times_free_arrayp) UnitTimes *times = NULL; diff --git a/src/analyze/analyze-plot.h b/src/analyze/analyze-plot.h index 65414b69d0..eb2e398b31 100644 --- a/src/analyze/analyze-plot.h +++ b/src/analyze/analyze-plot.h @@ -1,4 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -int analyze_plot(int argc, char *argv[], void *userdata); +int verb_plot(int argc, char *argv[], void *userdata); diff --git a/src/analyze/analyze-security.c b/src/analyze/analyze-security.c index 642c4f5d1c..f1d3ff7480 100644 --- a/src/analyze/analyze-security.c +++ b/src/analyze/analyze-security.c @@ -2890,7 +2890,7 @@ static int analyze_security(sd_bus *bus, return ret; } -int do_security(int argc, char *argv[], void *userdata) { +int verb_security(int argc, char *argv[], void *userdata) { _cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL; _cleanup_(json_variant_unrefp) JsonVariant *policy = NULL; int r; diff --git a/src/analyze/analyze-security.h b/src/analyze/analyze-security.h index 84436c7dad..82f4c7fdee 100644 --- a/src/analyze/analyze-security.h +++ b/src/analyze/analyze-security.h @@ -7,4 +7,4 @@ typedef enum AnalyzeSecurityFlags { ANALYZE_SECURITY_ONLY_LONG_RUNNING = 1 << 2, } AnalyzeSecurityFlags; -int do_security(int argc, char *argv[], void *userdata); +int verb_security(int argc, char *argv[], void *userdata); diff --git a/src/analyze/analyze-service-watchdogs.c b/src/analyze/analyze-service-watchdogs.c index 7b804bd90b..96aed32b55 100644 --- a/src/analyze/analyze-service-watchdogs.c +++ b/src/analyze/analyze-service-watchdogs.c @@ -6,7 +6,7 @@ #include "bus-locator.h" #include "parse-util.h" -int service_watchdogs(int argc, char *argv[], void *userdata) { +int verb_service_watchdogs(int argc, char *argv[], void *userdata) { _cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL; _cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL; int b, r; diff --git a/src/analyze/analyze-service-watchdogs.h b/src/analyze/analyze-service-watchdogs.h index 11a53dbbf1..2f59f5a3f4 100644 --- a/src/analyze/analyze-service-watchdogs.h +++ b/src/analyze/analyze-service-watchdogs.h @@ -1,4 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -int service_watchdogs(int argc, char *argv[], void *userdata); +int verb_service_watchdogs(int argc, char *argv[], void *userdata); diff --git a/src/analyze/analyze-syscall-filter.c b/src/analyze/analyze-syscall-filter.c index eea7a9880e..efe82c1a34 100644 --- a/src/analyze/analyze-syscall-filter.c +++ b/src/analyze/analyze-syscall-filter.c @@ -86,7 +86,7 @@ static void dump_syscall_filter(const SyscallFilterSet *set) { printf(" %s%s%s\n", syscall[0] == '@' ? ansi_underline() : "", syscall, ansi_normal()); } -int dump_syscall_filters(int argc, char *argv[], void *userdata) { +int verb_syscall_filters(int argc, char *argv[], void *userdata) { bool first = true; pager_open(arg_pager_flags); diff --git a/src/analyze/analyze-syscall-filter.h b/src/analyze/analyze-syscall-filter.h index 3704875572..3a1af85a69 100644 --- a/src/analyze/analyze-syscall-filter.h +++ b/src/analyze/analyze-syscall-filter.h @@ -1,4 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -int dump_syscall_filters(int argc, char *argv[], void *userdata); +int verb_syscall_filters(int argc, char *argv[], void *userdata); diff --git a/src/analyze/analyze-time.c b/src/analyze/analyze-time.c index cbf000db42..e5744a218e 100644 --- a/src/analyze/analyze-time.c +++ b/src/analyze/analyze-time.c @@ -4,7 +4,7 @@ #include "analyze-time.h" #include "analyze-time-data.h" -int analyze_time(int argc, char *argv[], void *userdata) { +int verb_time(int argc, char *argv[], void *userdata) { _cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL; _cleanup_free_ char *buf = NULL; int r; diff --git a/src/analyze/analyze-time.h b/src/analyze/analyze-time.h index 4bc4f1426b..a8f8575c3b 100644 --- a/src/analyze/analyze-time.h +++ b/src/analyze/analyze-time.h @@ -1,4 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -int analyze_time(int argc, char *argv[], void *userdata); +int verb_time(int argc, char *argv[], void *userdata); diff --git a/src/analyze/analyze-timespan.c b/src/analyze/analyze-timespan.c index 8a0fbe534c..8d7cd2ddd5 100644 --- a/src/analyze/analyze-timespan.c +++ b/src/analyze/analyze-timespan.c @@ -8,7 +8,7 @@ #include "strv.h" #include "terminal-util.h" -int dump_timespan(int argc, char *argv[], void *userdata) { +int verb_timespan(int argc, char *argv[], void *userdata) { char **input_timespan; STRV_FOREACH(input_timespan, strv_skip(argv, 1)) { diff --git a/src/analyze/analyze-timespan.h b/src/analyze/analyze-timespan.h index 32ad1923f1..46d2295600 100644 --- a/src/analyze/analyze-timespan.h +++ b/src/analyze/analyze-timespan.h @@ -1,4 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -int dump_timespan(int argc, char *argv[], void *userdata); +int verb_timespan(int argc, char *argv[], void *userdata); diff --git a/src/analyze/analyze-timestamp.c b/src/analyze/analyze-timestamp.c index 2600acaf82..9128207338 100644 --- a/src/analyze/analyze-timestamp.c +++ b/src/analyze/analyze-timestamp.c @@ -78,7 +78,7 @@ static int test_timestamp_one(const char *p) { return table_print(table, NULL); } -int test_timestamp(int argc, char *argv[], void *userdata) { +int verb_timestamp(int argc, char *argv[], void *userdata) { int ret = 0, r; char **p; diff --git a/src/analyze/analyze-timestamp.h b/src/analyze/analyze-timestamp.h index 583d0c7e65..43e4b57d2a 100644 --- a/src/analyze/analyze-timestamp.h +++ b/src/analyze/analyze-timestamp.h @@ -1,4 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -int test_timestamp(int argc, char *argv[], void *userdata); +int verb_timestamp(int argc, char *argv[], void *userdata); diff --git a/src/analyze/analyze-unit-files.c b/src/analyze/analyze-unit-files.c index bfb3edf839..81714914e3 100644 --- a/src/analyze/analyze-unit-files.c +++ b/src/analyze/analyze-unit-files.c @@ -15,7 +15,7 @@ static bool strv_fnmatch_strv_or_empty(char* const* patterns, char **strv, int f return false; } -int do_unit_files(int argc, char *argv[], void *userdata) { +int verb_unit_files(int argc, char *argv[], void *userdata) { _cleanup_hashmap_free_ Hashmap *unit_ids = NULL, *unit_names = NULL; _cleanup_(lookup_paths_free) LookupPaths lp = {}; char **patterns = strv_skip(argv, 1); diff --git a/src/analyze/analyze-unit-files.h b/src/analyze/analyze-unit-files.h index 33bccc1c27..c193fd8274 100644 --- a/src/analyze/analyze-unit-files.h +++ b/src/analyze/analyze-unit-files.h @@ -1,4 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -int do_unit_files(int argc, char *argv[], void *userdata); +int verb_unit_files(int argc, char *argv[], void *userdata); diff --git a/src/analyze/analyze-unit-paths.c b/src/analyze/analyze-unit-paths.c index f18a10ef34..e2e8c66b7e 100644 --- a/src/analyze/analyze-unit-paths.c +++ b/src/analyze/analyze-unit-paths.c @@ -5,7 +5,7 @@ #include "path-lookup.h" #include "strv.h" -int dump_unit_paths(int argc, char *argv[], void *userdata) { +int verb_unit_paths(int argc, char *argv[], void *userdata) { _cleanup_(lookup_paths_free) LookupPaths paths = {}; int r; char **p; diff --git a/src/analyze/analyze-unit-paths.h b/src/analyze/analyze-unit-paths.h index c3c5156e48..b8d46e87d0 100644 --- a/src/analyze/analyze-unit-paths.h +++ b/src/analyze/analyze-unit-paths.h @@ -1,4 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -int dump_unit_paths(int argc, char *argv[], void *userdata); +int verb_unit_paths(int argc, char *argv[], void *userdata); diff --git a/src/analyze/analyze-verify.c b/src/analyze/analyze-verify.c index 05fd8a6336..d97b6ed9c8 100644 --- a/src/analyze/analyze-verify.c +++ b/src/analyze/analyze-verify.c @@ -54,7 +54,7 @@ static int process_aliases(char *argv[], char *tempdir, char ***ret) { return 0; } -int do_verify(int argc, char *argv[], void *userdata) { +int verb_verify(int argc, char *argv[], void *userdata) { _cleanup_strv_free_ char **filenames = NULL; _cleanup_(rm_rf_physical_and_freep) char *tempdir = NULL; int r; diff --git a/src/analyze/analyze-verify.h b/src/analyze/analyze-verify.h index 1193a0e38c..4892c9aa4f 100644 --- a/src/analyze/analyze-verify.h +++ b/src/analyze/analyze-verify.h @@ -1,4 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -int do_verify(int argc, char *argv[], void *userdata); +int verb_verify(int argc, char *argv[], void *userdata); diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c index 1cb981feb6..5c64bf6b4c 100644 --- a/src/analyze/analyze.c +++ b/src/analyze/analyze.c @@ -541,11 +541,11 @@ static int run(int argc, char *argv[]) { static const Verb verbs[] = { { "help", VERB_ANY, VERB_ANY, 0, help }, - { "time", VERB_ANY, 1, VERB_DEFAULT, analyze_time }, - { "blame", VERB_ANY, 1, 0, analyze_blame }, - { "critical-chain", VERB_ANY, VERB_ANY, 0, analyze_critical_chain }, - { "plot", VERB_ANY, 1, 0, analyze_plot }, - { "dot", VERB_ANY, VERB_ANY, 0, dot }, + { "time", VERB_ANY, 1, VERB_DEFAULT, verb_time }, + { "blame", VERB_ANY, 1, 0, verb_blame }, + { "critical-chain", VERB_ANY, VERB_ANY, 0, verb_critical_chain }, + { "plot", VERB_ANY, 1, 0, verb_plot }, + { "dot", VERB_ANY, VERB_ANY, 0, verb_dot }, /* ↓ The following seven verbs are deprecated, from here … ↓ */ { "log-level", VERB_ANY, 2, 0, verb_log_control }, { "log-target", VERB_ANY, 2, 0, verb_log_control }, @@ -553,23 +553,23 @@ static int run(int argc, char *argv[]) { { "get-log-level", VERB_ANY, 1, 0, verb_log_control }, { "set-log-target", 2, 2, 0, verb_log_control }, { "get-log-target", VERB_ANY, 1, 0, verb_log_control }, - { "service-watchdogs", VERB_ANY, 2, 0, service_watchdogs }, + { "service-watchdogs", VERB_ANY, 2, 0, verb_service_watchdogs }, /* ↑ … until here ↑ */ - { "dump", VERB_ANY, 1, 0, dump }, - { "cat-config", 2, VERB_ANY, 0, cat_config }, - { "unit-files", VERB_ANY, VERB_ANY, 0, do_unit_files }, - { "unit-paths", 1, 1, 0, dump_unit_paths }, - { "exit-status", VERB_ANY, VERB_ANY, 0, dump_exit_status }, - { "syscall-filter", VERB_ANY, VERB_ANY, 0, dump_syscall_filters }, - { "capability", VERB_ANY, VERB_ANY, 0, dump_capabilities }, - { "filesystems", VERB_ANY, VERB_ANY, 0, dump_filesystems }, - { "condition", VERB_ANY, VERB_ANY, 0, do_condition }, - { "verify", 2, VERB_ANY, 0, do_verify }, - { "calendar", 2, VERB_ANY, 0, test_calendar }, - { "timestamp", 2, VERB_ANY, 0, test_timestamp }, - { "timespan", 2, VERB_ANY, 0, dump_timespan }, - { "security", VERB_ANY, VERB_ANY, 0, do_security }, - { "inspect-elf", 2, VERB_ANY, 0, do_elf_inspection }, + { "dump", VERB_ANY, 1, 0, verb_dump }, + { "cat-config", 2, VERB_ANY, 0, verb_cat_config }, + { "unit-files", VERB_ANY, VERB_ANY, 0, verb_unit_files }, + { "unit-paths", 1, 1, 0, verb_unit_paths }, + { "exit-status", VERB_ANY, VERB_ANY, 0, verb_exit_status }, + { "syscall-filter", VERB_ANY, VERB_ANY, 0, verb_syscall_filters }, + { "capability", VERB_ANY, VERB_ANY, 0, verb_capabilities }, + { "filesystems", VERB_ANY, VERB_ANY, 0, verb_filesystems }, + { "condition", VERB_ANY, VERB_ANY, 0, verb_condition }, + { "verify", 2, VERB_ANY, 0, verb_verify }, + { "calendar", 2, VERB_ANY, 0, verb_calendar }, + { "timestamp", 2, VERB_ANY, 0, verb_timestamp }, + { "timespan", 2, VERB_ANY, 0, verb_timespan }, + { "security", VERB_ANY, VERB_ANY, 0, verb_security }, + { "inspect-elf", 2, VERB_ANY, 0, verb_elf_inspection }, {} }; |