diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-11-30 22:08:41 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-12-02 13:22:29 +0100 |
commit | 686d13b9f247f4d113e93f0997b9365a3e6b264b (patch) | |
tree | 35a45766e342e2b70d6bf5cf17d3c8c7dc397983 /src/shared/env-file-label.h | |
parent | 0a2152f005f65e949e81ac05e1b81f878103a15d (diff) | |
download | systemd-686d13b9f247f4d113e93f0997b9365a3e6b264b.tar.gz systemd-686d13b9f247f4d113e93f0997b9365a3e6b264b.tar.bz2 systemd-686d13b9f247f4d113e93f0997b9365a3e6b264b.zip |
util-lib: split out env file parsing code into env-file.c
It's quite complex, let's split this out.
No code changes, just some file rearranging.
Diffstat (limited to 'src/shared/env-file-label.h')
-rw-r--r-- | src/shared/env-file-label.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/shared/env-file-label.h b/src/shared/env-file-label.h new file mode 100644 index 0000000000..158fc4ec0b --- /dev/null +++ b/src/shared/env-file-label.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: LGPL-2.1+ */ +#pragma once + +/* These functions are split out of fileio.h (and not for example just flags to the functions they wrap) in order to + * optimize linking: This way, -lselinux is needed only for the callers of these functions that need selinux, but not + * for all */ + +int write_env_file_label(const char *fname, char **l); |