blob: 28650167731ef27a4ac4b4383e1a5d98a23dec8d (
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 verb_start(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);
|