shared/install: use char** convention for strvs
This commit is contained in:
parent
cc3d61683d
commit
7195aa42e3
|
@ -556,7 +556,7 @@ int unit_file_mask(
|
|||
UnitFileScope scope,
|
||||
bool runtime,
|
||||
const char *root_dir,
|
||||
char *files[],
|
||||
char **files,
|
||||
bool force,
|
||||
UnitFileChange **changes,
|
||||
unsigned *n_changes) {
|
||||
|
@ -625,7 +625,7 @@ int unit_file_unmask(
|
|||
UnitFileScope scope,
|
||||
bool runtime,
|
||||
const char *root_dir,
|
||||
char *files[],
|
||||
char **files,
|
||||
UnitFileChange **changes,
|
||||
unsigned *n_changes) {
|
||||
|
||||
|
@ -690,7 +690,7 @@ int unit_file_link(
|
|||
UnitFileScope scope,
|
||||
bool runtime,
|
||||
const char *root_dir,
|
||||
char *files[],
|
||||
char **files,
|
||||
bool force,
|
||||
UnitFileChange **changes,
|
||||
unsigned *n_changes) {
|
||||
|
@ -1462,7 +1462,7 @@ int unit_file_enable(
|
|||
UnitFileScope scope,
|
||||
bool runtime,
|
||||
const char *root_dir,
|
||||
char *files[],
|
||||
char **files,
|
||||
bool force,
|
||||
UnitFileChange **changes,
|
||||
unsigned *n_changes) {
|
||||
|
@ -1502,7 +1502,7 @@ int unit_file_disable(
|
|||
UnitFileScope scope,
|
||||
bool runtime,
|
||||
const char *root_dir,
|
||||
char *files[],
|
||||
char **files,
|
||||
UnitFileChange **changes,
|
||||
unsigned *n_changes) {
|
||||
|
||||
|
@ -1543,7 +1543,7 @@ int unit_file_reenable(
|
|||
UnitFileScope scope,
|
||||
bool runtime,
|
||||
const char *root_dir,
|
||||
char *files[],
|
||||
char **files,
|
||||
bool force,
|
||||
UnitFileChange **changes,
|
||||
unsigned *n_changes) {
|
||||
|
@ -1820,7 +1820,7 @@ int unit_file_preset(
|
|||
UnitFileScope scope,
|
||||
bool runtime,
|
||||
const char *root_dir,
|
||||
char *files[],
|
||||
char **files,
|
||||
bool force,
|
||||
UnitFileChange **changes,
|
||||
unsigned *n_changes) {
|
||||
|
|
|
@ -73,13 +73,13 @@ typedef struct {
|
|||
char **required_by;
|
||||
} InstallInfo;
|
||||
|
||||
int unit_file_enable(UnitFileScope scope, bool runtime, const char *root_dir, char *files[], bool force, UnitFileChange **changes, unsigned *n_changes);
|
||||
int unit_file_disable(UnitFileScope scope, bool runtime, const char *root_dir, char *files[], UnitFileChange **changes, unsigned *n_changes);
|
||||
int unit_file_reenable(UnitFileScope scope, bool runtime, const char *root_dir, char *files[], bool force, UnitFileChange **changes, unsigned *n_changes);
|
||||
int unit_file_link(UnitFileScope scope, bool runtime, const char *root_dir, char *files[], bool force, UnitFileChange **changes, unsigned *n_changes);
|
||||
int unit_file_preset(UnitFileScope scope, bool runtime, const char *root_dir, char *files[], bool force, UnitFileChange **changes, unsigned *n_changes);
|
||||
int unit_file_mask(UnitFileScope scope, bool runtime, const char *root_dir, char *files[], bool force, UnitFileChange **changes, unsigned *n_changes);
|
||||
int unit_file_unmask(UnitFileScope scope, bool runtime, const char *root_dir, char *files[], UnitFileChange **changes, unsigned *n_changes);
|
||||
int unit_file_enable(UnitFileScope scope, bool runtime, const char *root_dir, char **files, bool force, UnitFileChange **changes, unsigned *n_changes);
|
||||
int unit_file_disable(UnitFileScope scope, bool runtime, const char *root_dir, char **files, UnitFileChange **changes, unsigned *n_changes);
|
||||
int unit_file_reenable(UnitFileScope scope, bool runtime, const char *root_dir, char **files, bool force, UnitFileChange **changes, unsigned *n_changes);
|
||||
int unit_file_link(UnitFileScope scope, bool runtime, const char *root_dir, char **files, bool force, UnitFileChange **changes, unsigned *n_changes);
|
||||
int unit_file_preset(UnitFileScope scope, bool runtime, const char *root_dir, char **files, bool force, UnitFileChange **changes, unsigned *n_changes);
|
||||
int unit_file_mask(UnitFileScope scope, bool runtime, const char *root_dir, char **files, bool force, UnitFileChange **changes, unsigned *n_changes);
|
||||
int unit_file_unmask(UnitFileScope scope, bool runtime, const char *root_dir, char **files, UnitFileChange **changes, unsigned *n_changes);
|
||||
int unit_file_set_default(UnitFileScope scope, const char *root_dir, const char *file, bool force, UnitFileChange **changes, unsigned *n_changes);
|
||||
int unit_file_get_default(UnitFileScope scope, const char *root_dir, char **name);
|
||||
|
||||
|
|
Loading…
Reference in New Issue