summaryrefslogtreecommitdiffstats
path: root/src/core/namespace.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-05-29 05:44:57 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-05-31 04:09:41 +0200
commitfa65c28176c09a8f56953898771af25db0d67d79 (patch)
tree502a409e17337983e49463568a125ffd6071b562 /src/core/namespace.h
parentsocket-util: rename parse_socket_address_bind_ipv6_only_or_bool() to socket_a... (diff)
downloadsystemd-fa65c28176c09a8f56953898771af25db0d67d79.tar.xz
systemd-fa65c28176c09a8f56953898771af25db0d67d79.zip
namespace: rename parse_protect_{home,system}_or_bool() to protect_{home,system}_or_bool_to_string()
Hence, we can define config_parse_protect_{home,system}() by using DEFINE_CONFIG_PARSE_ENUM() macro.
Diffstat (limited to 'src/core/namespace.h')
-rw-r--r--src/core/namespace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/namespace.h b/src/core/namespace.h
index d8e4682255..705eb4e13a 100644
--- a/src/core/namespace.h
+++ b/src/core/namespace.h
@@ -97,11 +97,11 @@ int setup_netns(int netns_storage_socket[2]);
const char* protect_home_to_string(ProtectHome p) _const_;
ProtectHome protect_home_from_string(const char *s) _pure_;
-ProtectHome parse_protect_home_or_bool(const char *s);
+ProtectHome protect_home_or_bool_from_string(const char *s);
const char* protect_system_to_string(ProtectSystem p) _const_;
ProtectSystem protect_system_from_string(const char *s) _pure_;
-ProtectSystem parse_protect_system_or_bool(const char *s);
+ProtectSystem protect_system_or_bool_from_string(const char *s);
void bind_mount_free_many(BindMount *b, size_t n);
int bind_mount_add(BindMount **b, size_t *n, const BindMount *item);