]>
Commit | Line | Data |
---|---|---|
db9ecf05 | 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
daf71ef6 LP |
2 | #pragma once |
3 | ||
4 | #include "systemctl.h" | |
5 | ||
6 | int start_unit(int argc, char *argv[], 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); |