summaryrefslogtreecommitdiff
path: root/src/shared/conf-parser.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-05-03 19:01:21 +0200
committerLennart Poettering <lennart@poettering.net>2018-05-17 20:36:52 +0200
commit4f424df760117caa461252b89e9c6680eaee2568 (patch)
tree1e4e9f716e74b503b644107fc878fb58a5eee129 /src/shared/conf-parser.h
parent6550c24c7f21ee398a1ca0ab43603b23a3414108 (diff)
downloadsystemd-4f424df760117caa461252b89e9c6680eaee2568.tar.gz
core: move config_parse_limit() to the generic conf-parser.[ch]
That way we can use it in nspawn. Also, while we are at it, let's rename the call config_parse_rlimit(), i.e. insert the "r", to clarify what kind of limit this is about.
Diffstat (limited to 'src/shared/conf-parser.h')
-rw-r--r--src/shared/conf-parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/conf-parser.h b/src/shared/conf-parser.h
index 094b9cbc44..76adc9a88e 100644
--- a/src/shared/conf-parser.h
+++ b/src/shared/conf-parser.h
@@ -147,6 +147,7 @@ int config_parse_ifname(GENERIC_PARSER_ARGS);
int config_parse_ip_port(GENERIC_PARSER_ARGS);
int config_parse_join_controllers(GENERIC_PARSER_ARGS);
int config_parse_mtu(GENERIC_PARSER_ARGS);
+int config_parse_rlimit(GENERIC_PARSER_ARGS);
typedef enum Disabled {
DISABLED_CONFIGURATION,