| 1 |
/* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 |
#pragma once |
| 3 |
|
| 4 |
#include "shared-forward.h" |
| 5 |
|
| 6 |
int verb_unlink(int argc, char *argv[], uintptr_t _data, void *userdata); |
| 7 |
|
| 8 |
int vl_method_unlink(sd_varlink *link, sd_json_variant *parameters, sd_varlink_method_flags_t flags, void *userdata); |
| 9 |
|
| 10 |
int boot_config_count_known_files(const BootConfig *config, BootEntrySource source, Hashmap **ret_known_files); |
| 11 |
|
| 12 |
int boot_entry_unlink(const BootEntry *e, const char *root, int root_fd, Hashmap *known_files, bool dry_run); |