summaryrefslogtreecommitdiff
path: root/src/shared/install.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-08-24 17:23:40 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-10-13 19:44:47 +0200
commit0f87041f9404564fac77ab3b6afcef0cab5f3936 (patch)
tree7664cd6c7475ee7854be607b1fa8d19560c84c55 /src/shared/install.h
parent52bcf45a6c2b25e58b0a798b0cdc3c4d0d5cc961 (diff)
downloadsystemd-0f87041f9404564fac77ab3b6afcef0cab5f3936.tar.gz
shared/install: rename 'files' param to 'names'
… or 'name_or_path' or 'names_or_paths' as appropriate. Those functions are generally called with unit names as arguments.
Diffstat (limited to 'src/shared/install.h')
-rw-r--r--src/shared/install.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/shared/install.h b/src/shared/install.h
index 2ba7e8aea0..bc107e03ae 100644
--- a/src/shared/install.h
+++ b/src/shared/install.h
@@ -99,14 +99,14 @@ int unit_file_enable(
LookupScope scope,
UnitFileFlags flags,
const char *root_dir,
- char **files,
+ char **names_or_paths,
UnitFileChange **changes,
size_t *n_changes);
int unit_file_disable(
LookupScope scope,
UnitFileFlags flags,
const char *root_dir,
- char **files,
+ char **names,
UnitFileChange **changes,
size_t *n_changes);
int unit_file_reenable(
@@ -120,7 +120,7 @@ int unit_file_preset(
LookupScope scope,
UnitFileFlags flags,
const char *root_dir,
- char **files,
+ char **names,
UnitFilePresetMode mode,
UnitFileChange **changes,
size_t *n_changes);
@@ -135,14 +135,14 @@ int unit_file_mask(
LookupScope scope,
UnitFileFlags flags,
const char *root_dir,
- char **files,
+ char **names,
UnitFileChange **changes,
size_t *n_changes);
int unit_file_unmask(
LookupScope scope,
UnitFileFlags flags,
const char *root_dir,
- char **files,
+ char **names,
UnitFileChange **changes,
size_t *n_changes);
int unit_file_link(
@@ -155,14 +155,14 @@ int unit_file_link(
int unit_file_revert(
LookupScope scope,
const char *root_dir,
- char **files,
+ char **names,
UnitFileChange **changes,
size_t *n_changes);
int unit_file_set_default(
LookupScope scope,
UnitFileFlags flags,
const char *root_dir,
- const char *file,
+ const char *name,
UnitFileChange **changes,
size_t *n_changes);
int unit_file_get_default(
@@ -173,7 +173,7 @@ int unit_file_add_dependency(
LookupScope scope,
UnitFileFlags flags,
const char *root_dir,
- char **files,
+ char **names,
const char *target,
UnitDependency dep,
UnitFileChange **changes,