summaryrefslogtreecommitdiffstats
path: root/src/systemctl/systemctl-start-unit.h
blob: 915c6fa7fb4cebcc248de3528d2786866ccc7949 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

#include "systemctl.h"

int start_unit(int argc, char *argv[], void *userdata);

struct action_metadata {
        const char *target;
        const char *verb;
        const char *mode;
};

extern const struct action_metadata action_table[_ACTION_MAX];

enum action verb_to_action(const char *verb);