diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-01-03 13:05:32 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-01-05 18:24:21 +0100 |
commit | ea575e176aac9fa8f430bb30a3e8abd8da767a10 (patch) | |
tree | e0299499fce39c3b74c9c73d13a941032642ded5 /src/shared/creds-util.h | |
parent | bc0b2d377f4f8cf4dcf29651c8570f93bd52408e (diff) | |
download | systemd-ea575e176aac9fa8f430bb30a3e8abd8da767a10.tar.gz |
vconsole: permit configuration of vconsole settings via credentials
Diffstat (limited to 'src/shared/creds-util.h')
-rw-r--r-- | src/shared/creds-util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shared/creds-util.h b/src/shared/creds-util.h index cf3d6c7dc6..05d8b74634 100644 --- a/src/shared/creds-util.h +++ b/src/shared/creds-util.h @@ -36,6 +36,11 @@ int get_encrypted_credentials_dir(const char **ret); int read_credential(const char *name, void **ret, size_t *ret_size); +int read_credential_strings_many_internal(const char *first_name, char **first_value, ...); + +#define read_credential_strings_many(first_name, first_value, ...) \ + read_credential_strings_many_internal(first_name, first_value, __VA_ARGS__, NULL) + typedef enum CredentialSecretFlags { CREDENTIAL_SECRET_GENERATE = 1 << 0, CREDENTIAL_SECRET_WARN_NOT_ENCRYPTED = 1 << 1, |