diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-11-29 23:47:58 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-12-01 00:25:51 +0100 |
commit | ad85779a50bb26c80a4c9b597b486d86cef07c79 (patch) | |
tree | c081e4bb06ffd8c58d711d22795dc4eb9fa77051 /src/nspawn/nspawn-mount.h | |
parent | 48cbe5f80bd3cb1bb93b00168d8f446493be0280 (diff) |
nspawn: split out overlayfs argument parsing into a function of its own
Add overlay_mount_parse() similar in style to tmpfs_mount_parse() and
bind_mount_parse().
Diffstat (limited to 'src/nspawn/nspawn-mount.h')
-rw-r--r-- | src/nspawn/nspawn-mount.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nspawn/nspawn-mount.h b/src/nspawn/nspawn-mount.h index 74aee7ee7f..83acd01e00 100644 --- a/src/nspawn/nspawn-mount.h +++ b/src/nspawn/nspawn-mount.h @@ -61,8 +61,10 @@ typedef struct CustomMount { CustomMount* custom_mount_add(CustomMount **l, unsigned *n, CustomMountType t); void custom_mount_free_all(CustomMount *l, unsigned n); + int bind_mount_parse(CustomMount **l, unsigned *n, const char *s, bool read_only); int tmpfs_mount_parse(CustomMount **l, unsigned *n, const char *s); +int overlay_mount_parse(CustomMount **l, unsigned *n, const char *s, bool read_only); int custom_mount_compare(const void *a, const void *b); |