diff options
author | Mike Yuan <me@yhndnzj.com> | 2023-12-19 08:38:32 +0100 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2023-12-20 05:46:46 +0100 |
commit | 28bb29cbb48072952bbc47bbf91f1d4d24538766 (patch) | |
tree | d2fa909711509f15b6fd7d77016167a2baeeca64 /src/network/networkctl-config-file.h | |
parent | networkctl-config-file: check for masked config before editing/showing (diff) | |
download | systemd-28bb29cbb48072952bbc47bbf91f1d4d24538766.tar.xz systemd-28bb29cbb48072952bbc47bbf91f1d4d24538766.zip |
networkctl: introduce verb mask and unmask
Suggested in https://github.com/systemd/systemd/pull/29928#discussion_r1386626565
Diffstat (limited to 'src/network/networkctl-config-file.h')
-rw-r--r-- | src/network/networkctl-config-file.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/networkctl-config-file.h b/src/network/networkctl-config-file.h index 8d7069e3f3..38210a8093 100644 --- a/src/network/networkctl-config-file.h +++ b/src/network/networkctl-config-file.h @@ -3,3 +3,6 @@ int verb_edit(int argc, char *argv[], void *userdata); int verb_cat(int argc, char *argv[], void *userdata); + +int verb_mask(int argc, char *argv[], void *userdata); +int verb_unmask(int argc, char *argv[], void *userdata); |