src/systemctl/systemctl-start-unit.h
raw| 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 | #pragma once |
| 3 | |
| 4 | #include "systemctl.h" |
| 5 | |
| 6 | int verb_start(int argc, char *argv[], uintptr_t _data, void *userdata); |
| 7 | |
| 8 | struct action_metadata { |
| 9 | const char *target; |
| 10 | const char *verb; |
| 11 | const char *mode; |
| 12 | }; |
| 13 | |
| 14 | extern const struct action_metadata action_table[_ACTION_MAX]; |
| 15 | |
| 16 | enum action verb_to_action(const char *verb); |