diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-04-26 21:22:06 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-04-06 16:08:23 +0200 |
commit | f7178a04dbfc9247f1d8b9c4840a6c5121ed37b4 (patch) | |
tree | aa0648d2672ca6e75b1ec24f32a90980cebee7b5 /src/shared/discover-image.h | |
parent | cgroup-setup: add fd-based version of cg_attach() (diff) | |
download | systemd-f7178a04dbfc9247f1d8b9c4840a6c5121ed37b4.tar.xz systemd-f7178a04dbfc9247f1d8b9c4840a6c5121ed37b4.zip |
discover-image: export search paths array
This way we can use it to validate image paths later.
Diffstat (limited to '')
-rw-r--r-- | src/shared/discover-image.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/discover-image.h b/src/shared/discover-image.h index 350c3a22cc..6491cec886 100644 --- a/src/shared/discover-image.h +++ b/src/shared/discover-image.h @@ -122,3 +122,5 @@ int image_to_json(const struct Image *i, JsonVariant **ret); const char *image_root_to_string(ImageClass c) _const_; extern const struct hash_ops image_hash_ops; + +extern const char* const image_search_path[_IMAGE_CLASS_MAX]; |